| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Redirect Directory to new Subdomain|
| 4:03 pm on Jan 17, 2008 (gmt 0)|
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]
| 1:33 am on Jan 18, 2008 (gmt 0)|
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