Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Redirect Directory to new Subdomain


matthewamzn - 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.

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]


Thread source:: http://www.webmasterworld.com/apache/3550756.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com