Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- Issued some 301s by mistake - what to do now ?


enigma1 - 9:43 pm on Dec 5, 2011 (gmt 0)


Is this the correct way to do this - with two headers like this ?

Looks ok to me also just make sure you exit the script once you output the headers in case its included by another script or it's conditional.

header("HTTP/1.1 301 Moved Permanently");
header("Location: [www....] ...
exit();


Thread source:: http://www.webmasterworld.com/google/4394431.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com