I am trying to get a 301 header and keep getting a 302. Can anybody help?
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://{$_SERVER['HTTP_HOST']}/library/{$redirect[0]['full_safe_name']}");
header("Connection: close");
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.