Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Complex redirect


g1smd - 6:19 pm on Jun 15, 2010 (gmt 0)


Yes, where .net is the old site and .com is the new site, you can try

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?example\.net
RewriteRule (.*) http://www.example.com/$1[b]?[/b] [R=301,L]


on the old hosting, or

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) http://www.example.com/$1[b]?[/b] [R=301,L]


on the new hosting, with all domains pointing at the new hosting.


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