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 |
#72
|
||||
|
||||
Quote:
Just to verify here I am doing this correctly, One test would be to put a non existent path into the form and it should show a 404 error instead of the Vbulletin no permission page? I think I may be a little confused as to what this does. This does not change error pages but rather response header code so those pages are no longer crawled therefor reducing soft errors and the like? |
#73
|
||||
|
||||
Quote:
|
#74
|
||||
|
||||
Quote:
This mod kicks in when vBulletin shows a vBulletin generated error message. One way to test it is to test a thread URL such as- Code:
http://www.qapla.com/mods/showthread.php/1203 then change the thread number to something much higher, that you don't have a valid thread for like- Code:
http://www.qapla.com/mods/showthread.php/999999999999 Be aware when testing on your own forum the exact URL may be cached by the status checker... so if you test before the mod is installed be sure to use a different URL (even if it is just a little different) when you test again after installing the mod. If you used a URL that doesn't exist at all like Code:
http://www.qapla.com/mods/shugugaga |
Благодарность от: | ||
RichieBoy67 |
#75
|
||||
|
||||
Quote:
|
#76
|
||||
|
||||
This mod has nothing to do with it. I had that issue way before installing this.I had an occasion server hiccup when sometimes it'll go off line for a couple of minutes. i'm guessing during the time google is indexing. If i remember correctly google has a feature when that happens to mark as fix.. can remember though.
|
Благодарность от: | ||
BirdOPrey5 |
#77
|
|||
|
|||
Nice work @BirdoPrey, and thanks @Boothby!
|
3 благодарности(ей) от: | ||
BirdOPrey5, Boothby, CAG CheechDogg |
#78
|
||||
|
||||
Thanks, working perfectly
|
Благодарность от: | ||
BirdOPrey5 |
#79
|
||||
|
||||
Updated to version 2.1.1. Fixed error on for VB 3.x users on legacy PHP versions (below 5.4.0)
|
#80
|
||||
|
||||
|
#81
|
||||
|
||||
Quote:
What exact version of this plugin was installed? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|