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: Feb 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: 338
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:	397
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.
  #16  
Old 14 Mar 2014, 00:13
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I just tried a random bad URL from the site in your signature

http://www.questlot.com/forums/1998

On the website - http://httpstatus.io

And it is showing a 404 response code indicating the mod is working. What URL are you trying that you are getting a 200?

Also- Please "Mark as Installed"
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #17  
Old 18 Mar 2014, 19:47
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Just received this in an email from from Google Webmaster Tools:

http://forum.psychlinks.ca/: Increase in authorization permission errors
Google detected a significant increase in the number of URLs we were blocked from crawling due to authorization permission errors.
I'd say that's pretty good evidence that this add-on is working perfectly.
Reply With Quote
  #18  
Old 19 Mar 2014, 03:41
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
nice mod. should i install this along side dbseo?
__________________
Android Custom Creations
Reply With Quote
  #19  
Old 19 Mar 2014, 11:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by puertoblack2003 View Post
nice mod. should i install this along side dbseo?
Would probably just suggest DBSEO add the feature if they haven't already, but I see no reason it should be a problem.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #20  
Old 05 Apr 2014, 07:59
ramesh_umk3's Avatar
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Real name: Wiston Book
Are your sure brother Bird

DragonByte SEO v1.0.10

Changes to Existing Features:

"No Permission" error screens now send a 403 Access Restricted header
"Go To Post" URLs now redirect to the normal thread URL, improving the canonical URL functionality


Bug Fixes And Issue Fixes:

"Go To Post" URLs now redirect to the normal thread URL
Custom Rewrite Rules would in some circumstances not work as intended
Using the Forum Path system without a forum ID in the path format would create invalid rewritten URLs
Using your mod along with latest dragonbyte wont get any conflicts right ?

Regards,
Reply With Quote
  #21  
Old 05 Apr 2014, 10:00
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I'm not sure about using it with the dragon byte mod, no- as I don't have DBSEO installed and never intend to install it- so I will never be testing my mods against it- just like I never tested them against VBSEO. It is most certainly use at your own risk.

I don't believe there will be a conflict. I also don't know when it will be added to DBSEO- but I was in communication with them and was told they do intend to add the feature. I suppose plans can always change but it is such an easy feature I doubt they would change their mind.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #22  
Old 18 Apr 2014, 10:02
krimznheidiz krimznheidiz is offline
 
Join Date: May 2013
There is an error show " The following dependencies were not met:
This product is not compatible with version 5.3.28 of PHP. (Compatible starting with 5.4.0)"
Reply With Quote
  #23  
Old 18 Apr 2014, 11:23
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by krimznheidiz View Post
There is an error show " The following dependencies were not met:
This product is not compatible with version 5.3.28 of PHP. (Compatible starting with 5.4.0)"
That means that your server is running PHP 5.3.28 but I made it clear you need at least PHP 5.4.0 in the description of this mod. It will not work on your server.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #24  
Old 18 Apr 2014, 16:28
karnevil's Avatar
karnevil karnevil is offline
 
Join Date: Feb 2007
Hi BOP5 and all,

Question for you if I may

I regularly check google webmaster tools for crawl errors such as this, on our forum www.legalbeagles.info/forums/ we have a VIP area http://www.legalbeagles.info/forums/...-MEMBERS-FORUM which google obviously does not have crawl access to.

If a member posts(publicly and crawlable) a link to a thread/post contained in the VIP area google crawls that post, tries to follow the link and comes up with the no permissions page.

This is then logged as a soft 404 error in webmaster tools. What is the best way to either return a different code that will not affect the crawl errors or prevent it from returning an error?

Would this mod fix this?
__________________
www.legalbeagles.info
Reply With Quote
  #25  
Old 18 Apr 2014, 16:34
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by karnevil View Post
Hi BOP5 and all,

Question for you if I may

I regularly check google webmaster tools for crawl errors such as this, on our forum www.legalbeagles.info/forums/ we have a VIP area http://www.legalbeagles.info/forums/...-MEMBERS-FORUM which google obviously does not have crawl access to.

If a member posts(publicly and crawlable) a link to a thread/post contained in the VIP area google crawls that post, tries to follow the link and comes up with the no permissions page.

This is then logged as a soft 404 error in webmaster tools. What is the best way to either return a different code that will not affect the crawl errors or prevent it from returning an error?

Would this mod fix this?
This is exactly the mod to fix this. Under the default setup Google would instead get a 403 (not authorized) code on such pages.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #26  
Old 18 Apr 2014, 16:43
karnevil's Avatar
karnevil karnevil is offline
 
Join Date: Feb 2007
Excellent thank you,

We are running vB 4.2.1, not sure of the php version as yet, how would I check this?
__________________
www.legalbeagles.info
Reply With Quote
  #27  
Old 18 Apr 2014, 16:50
karnevil's Avatar
karnevil karnevil is offline
 
Join Date: Feb 2007
Found it, PHP Version 5.2.10

So reading back this mod will not work for us
__________________
www.legalbeagles.info
Reply With Quote
  #28  
Old 18 Apr 2014, 17:17
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Originally Posted by karnevil View Post
Found it, PHP Version 5.2.10

So reading back this mod will not work for us
Check with your hosting company, they may have a simple line code to add to your .htaccess to access 5.4
__________________
Alibass
Reply With Quote
  #29  
Old 18 Apr 2014, 17:24
karnevil's Avatar
karnevil karnevil is offline
 
Join Date: Feb 2007
Will do thanks.

Just looking through the templates to see where nopermission generates a 404 error to see if this can be modified
__________________
www.legalbeagles.info
Reply With Quote
  #30  
Old 18 Apr 2014, 18:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Alibass View Post
Check with your hosting company, they may have a simple line code to add to your .htaccess to access 5.4
If you do upgrade to PHP 5.4.x you must upgrade to VB 4.2.2 as well. You might as well upgrade to VB 4.2.2 first.

Originally Posted by karnevil View Post
Will do thanks.

Just looking through the templates to see where nopermission generates a 404 error to see if this can be modified
Fairly sure it isn't in the templates. If it is expressly set at all it would be in the PHP code.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
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 21:02.

Layout Options | Width: Wide Color: