Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
HTTP Error Response Codes by BOP5 (Soft 404 Solution) Details »
HTTP Error Response Codes by BOP5 (Soft 404 Solution)
Mod Version: 2.2.1, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Dec 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (14 votes - 5.00 average) Installs: 90
Released: 11 Mar 2014 Last Update: 27 May 2014 Downloads: 340
Supported Uses Plugins Re-usable Code  

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.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated.
Nominate MOTM if you LOVE it! (You did, Thanks!)

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	http_codes_ss_settings-v2.jpg
Views:	403
Size:	107.6 KB
ID:	149188  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 Mar 2014, 17:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Reserved.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #3  
Old 11 Mar 2014, 18:00
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Good lad BOP5, on the ball as ever....
Reply With Quote
  #4  
Old 11 Mar 2014, 21:38
Justinphx Justinphx is offline
 
Join Date: Jan 2012
Excellent. Thanks and works like a charm.
Reply With Quote
  #5  
Old 12 Mar 2014, 00:32
EddieDean EddieDean is offline
 
Join Date: Jun 2013
This so sad. Today I was looking to solve those error and find your thread, but my forum is in Banahosting and the PHP version on the server is 5.3.28... There is a way I can solve this without migrate to other hosting?
Reply With Quote
  #6  
Old 12 Mar 2014, 00:35
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
See if your host will update the PHP, if not then you would need to either find a different host, or not use this particular mod.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #7  
Old 12 Mar 2014, 00:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by EddieDean View Post
This so sad. Today I was looking to solve those error and find your thread, but my forum is in Banahosting and the PHP version on the server is 5.3.28... There is a way I can solve this without migrate to other hosting?
Sorry, been looking for ways to do it in older PHP versions but the only work-around uses the header() function, the problem is that function must be called before any output is created by the script and the hooks for the error messages aren't called until after script produces some output- so the header function calls are basically ignored. I'm not seeing any alternatives.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #8  
Old 12 Mar 2014, 04:10
Thangvip9x Thangvip9x is offline
 
Join Date: Apr 2012
Real name: Thang
I am using vbulletin 4.2.2 but version PHP 5.3, i very want use this mod, you can modify this product
__________________
Welcome to my site dien dan tuoi tre cntt
Reply With Quote
  #9  
Old 12 Mar 2014, 04:42
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
That was answered in the post above yours.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #10  
Old 12 Mar 2014, 16:12
ramesh_umk3's Avatar
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Real name: Wiston Book
So if i want to use this i have to spare my VBSEO right ?
Reply With Quote
  #11  
Old 12 Mar 2014, 16:26
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by ramesh_umk3 View Post
So if i want to use this i have to spare my VBSEO right ?
I don't know how it would work with VBSEO or not, I don't have VBSEO so I can't and don't test against it.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #12  
Old 12 Mar 2014, 18:16
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
No reason why it shouldn't work with vBSEO.
Reply With Quote
  #13  
Old 13 Mar 2014, 21:39
EddieDean EddieDean is offline
 
Join Date: Jun 2013
Originally Posted by BirdOPrey5 View Post
I don't know how it would work with VBSEO or not, I don't have VBSEO so I can't and don't test against it.
I have VBSEO and its working like a charm.
Reply With Quote
  #14  
Old 13 Mar 2014, 22:07
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
And no way to make it work with lower php version no way at all

if i edit the min php on the xml
<dependency dependencytype="php" minversion="5.4.0" maxversion="" />
Should it not work

Update got it working for a lower php

Last edited by ForceHSS; 13 Mar 2014 at 23:29.
Reply With Quote
  #15  
Old 13 Mar 2014, 23:06
Naijasite's Avatar
Naijasite Naijasite is offline
 
Join Date: Mar 2012
i just installed the mod it still show a status code of 200. the status did not change to 404
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:02.

Layout Options | Width: Wide Color: