Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Redirect Directory to new Subdomain



4:03 pm on Jan 17, 2008 (gmt 0)

10+ Year Member

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.

RewriteEngine ON
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)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

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?



Featured Threads

Hot Threads This Week

Hot Threads This Month