| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Redirect Directory to new Subdomain|
I'm trying to redirect urls from my old directory to a new subdomain. I put this .htaccess file in the old directory, but it's not working that good in internet explorer.
RewriteRule ^(.*)$ http://subdomain.example.com.com/$1 [R=301,L]
[edited by: jdMorgan at 1:30 am (utc) on Jan. 18, 2008]
[edit reason] example.com [/edit]
There's nothing wrong with the code you posted, so we'll need more information. "It's not working" really tells us nothing at all...
How did you test?
What were the results?
How did those results differ from what you expected?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved