Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Multiple ErrorDocuments based on request


designaweb - 12:50 pm on Jul 28, 2009 (gmt 0)


OK, so if I understand things correctly, the 301 method I use is fine and results in expected behaviour as long as I use the full URL, but using the same method for 404 is not.

header("HTTP/1.1 301 Moved Permanently");
header("Location: ".$redirect_url."");

Thanks, I'll stick to the ErrorDocument method for 404's then while keeping my method for 301...


Thread source:: http://www.webmasterworld.com/apache/3960803.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com