Hey Guys, I would like to forward the main page of my old site http://www.myolddomain.com to http://www.mynewdomain.com but I want the inner pages of myolddomain.com such as http://www.myolddomain.com/directory/content.html to remain as it is. What is the best way to do this taking SEO into effect ? I already have the following code in my .htaccess file but that forwards all the pages. Also note that my site is already using mod rewrite therefore a simple 301 redirect of the index.php page is effecting other pages as well. Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.mynewdomain.com/$1 [R=301,L] Thanks in advance.
Someone correct me if I'm wrong, but couldn't you just do this? redirect 301 /index.htm http://www.mynewdomain.com And then leave everything else as is. I'd plop that into a blank .htaccess file in your old domain and give it a try and see if it works. Is there a reason you want only your index page to redirect and not your subdirectories? Jen
The site already uses mod re-write so that pages are search engine friendly therefore a single redirect of index.php file effects all the other pages. That is what I am trying to get around. Best Regards,