![]() |
Installed & Notaminated , Great looking mod. keep up the good work.
Thanks, |
ErrorDocument 401 /401_forum.php Not Working on vb 3.8.2
|
a bug found in these scripts: by default they don't modify http header your server gives out with the page so for any of these errors the header will contain 200 OK instead of corresponding error. found this accidentally while trying to find out why google doesn't want to authorize me for my website. :)
this is easily enough fixed by adding the following line near the top of script: Code:
header("HTTP/1.0 404 Not Found"); |
Installed, works perfectly :)
Do I put header("HTTP/1.0 404 Not Found"); near the top of the file "404_forum.php" |
Sc00by22,
i'd recommend you to do so. in my experience, 404 is one of the most important error codes and giving out 200 OK when a page is not found can be very misleading for search engines. their crawlers don't actually read pages content, you know, they rely on http status codes. |
Nice, thanks.
|
I get a white page with the http errors on it...
|
Quote:
Quote:
|
is this going to be modded for vb4.0
|
Will this work on vbuleltin 4 series lol
|
All times are GMT. The time now is 01:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|