The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
HTTP Error Response Codes by BOP5 (Soft 404 Solution) Details »» | ||||||||||||||||||||||||||
HTTP Error Response Codes by BOP5 (Soft 404 Solution)
Developer Last Online: Aug 2023
Brought to you by BirdOPrey5 / Qapla.com
This issue was brought to my attention by Sherrie at TAZ in this thread. The issue is that when Google crawls a site and runs into the vBulletin No Permission message or other standard vBulletin error pages vBulletin gives the standard "200" HTTP response code which means everything is OK, even though there is no real content on these pages. Therefore Google considers these "soft errors" and they can damage overall SEO of your site if there are too many of them. What this does is make vBulletin return standard HTTP "Error" responses- by default 403 (Not Authorized) for No Permission pages and 404 (Not Found) for general error messages. When Google sees these responses (as opposed to 200) it knows not to bother indexing the page and everyone is happy. As of version 2.2 new options have been added to return custom response codes when the forum is closed or when the forum is busy. It will also send a retry header telling the crawler they can try again later. As of version 2.0 there is also a separate response code for search.php errors. A limitation of this mod is it works best with PHP 5.4.0 or higher. As of version 2.0 If you are on an older version of PHP it may not work, but it should not cause any errors, so it is worth trying. There are no instructions, once installed it is enabled by default. In Admin CP -> Settings -> Options -> HTTP Error Responses by BOP5 you can enable/disable the mod and choose the response codes you want for the different error types. You can use any standard HTTP response code available from this list at wikipedia. The mod works fine on VB 3.x or 4.x including VB 3.8.8 (still in Beta) and VB 4.2.2. To test that it is working use a free online status checker such as: http://httpstatus.io/ (Note the site will cache your result for a while so test with a unique URL each time.) Before you install the mod any URL that will show a no-permission or other vBulletin error will show a status code of 200. After installing the same page will show a 403, 404, or other code that you have configured. Added Boothby as a "co-author" as thanks for his contribution of code and ideas. :up: ------------------------------------------------------ Please "Mark as Installed" if you use this. Donations always appreciated. :up: [s]Nominate MOTM if you LOVE it! [/s] (You did, Thanks!) Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
10 благодарности(ей) от: | ||
dandanch, DemOnstar, djbaxter, Max Taxable, Mecho, Mickie D, RichieBoy67, SaN-DeeP, tbworld, TheLastSuperman |
Comments |
#92
|
||||
|
||||
Quote:
|
#93
|
||||
|
||||
Quote:
DBSEO has this feature and I am using it and your mod along with DBOptomise. I am not having any conflicts. |
#94
|
||||
|
||||
My mistake, I thought Alibass's signature link was yours.
|
#95
|
|||
|
|||
When the error happens again, can you open the Developer Tools Network Tab and make a screenshot of it?
|
#96
|
||||
|
||||
Quote:
|
#97
|
||||
|
||||
Hmm strange. I can't replicate that. I get a normal rejection screen.
Also: A link to content hidden from guests... http://www.ausphotography.net.au/for...-in-Launceston We don't either. We do run DBOptomise. We also have xCache. |
#98
|
||||
|
||||
Not sure about this Joe.
I noticed a 60% drop in visitors since install. A user informed me that they were unable to access the site and so I went along to see for myself. They are getting error 500. I normally have no problem accessing the site from where I stay but, I went along to the users place and I couldn't access and got the same 500 error. (misconfiguration on the server). I disabled the mod and the error went away. Tested in IE, Firefox, Chrome. EDIT: the error went away for me but she still had the same error. She is using a Samsung Galaxy device with Chrome as her browser. She has not ever been able to access the site. Weird one as I was in the same bar, I got the error, disabled the mod from another bar and gained access but she still cannot. |
#99
|
||||
|
||||
Quote:
What is your PHP version? |
#100
|
|||
|
|||
You should then reload the page to see the network traffic and the headers sent.
|
#101
|
||||
|
||||
Apache version 2.2.27
PHP version 5.2.17 MySQL version 5.5.37-log Not sure what is happening really. All a bit random. I get access from one place but not from another. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|