scopeweb Established Member ★ 20 ★ Impact 13 Aug 19, 2006 599 views 3 replies #1 This may be going over old ground, but can someone explain to me how to do a 301 redirect from one domain to another. Thanks in advance!
This may be going over old ground, but can someone explain to me how to do a 301 redirect from one domain to another. Thanks in advance!
Rush Established Member ★ 20 ★ Impact 27 Aug 19, 2006 #2 <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.newdomain.com" ); ?>
scopeweb Established Member ★ 20 ★ Impact 13 Aug 19, 2006 #3 Rush said: <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.newdomain.com" ); ?> Click to expand... Do I place this code into the html index page? Okay folks thanks for your help have got the answers I needed, Job sorted! Thanks
Rush said: <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.newdomain.com" ); ?> Click to expand... Do I place this code into the html index page? Okay folks thanks for your help have got the answers I needed, Job sorted! Thanks
FPForum Top Member VIP ★ 15 ★ Impact 1,436 Aug 21, 2006 #4 scopeweb said: Do I place this code into the html index page? Okay folks thanks for your help have got the answers I needed, Job sorted! Thanks Click to expand... i believe it goes in your .htaccess file.
scopeweb said: Do I place this code into the html index page? Okay folks thanks for your help have got the answers I needed, Job sorted! Thanks Click to expand... i believe it goes in your .htaccess file.