fraserimagery
10 Mar 2008, 09:09 PM
Hello,
I need to redirect some pages to different pages in the same domain. Can I use the old domain to new domain code as seen below? I can just specify the exact url. But I am worried since this is should be used for the index page and should redirect al pages, that it wont work properly.
Thank you
This redirect code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
was found here:
http://www.webconfs.com/how-to-redirect-a-webpage.php
I need to redirect some pages to different pages in the same domain. Can I use the old domain to new domain code as seen below? I can just specify the exact url. But I am worried since this is should be used for the index page and should redirect al pages, that it wont work properly.
Thank you
This redirect code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
was found here:
http://www.webconfs.com/how-to-redirect-a-webpage.php