vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - HTTP Error Response Codes by BOP5 (Soft 404 Solution) (https://vborg.vbsupport.ru/showthread.php?t=309415)

RichieBoy67 05-24-2014 11:56 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2499203)
Use this link, http://httpstatus.io/ ...once you put your link to test, once the test is done hover over the 200 code green box and you should see the response code change ....

If I understand how this works, the test gives you a 200 in the little green box but you see the response code once you hover over it ....hope that helps and hope I am giving you correct information lol ...

Thanks bro, awesome!

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?

CAG CheechDogg 05-24-2014 12:14 PM

Quote:

Originally Posted by RichieBoy67 (Post 2499206)
Thanks bro, awesome!

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?

Yes correct, if I understand it correctly that's how its supposed to work ...

BirdOPrey5 05-24-2014 06:05 PM

Quote:

Originally Posted by RichieBoy67 (Post 2499206)
Thanks bro, awesome!

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?

Not exactly...

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
(you will see that URL works and response code will be 200)

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
Now that should return a 404 response code... If this mod wasn't enabled then that URL would return a 200 response code. The 404 proves the mod is working.

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
That returns a 404 response because your server is producing a 404 page, vBulletin isn't running at all in this case, it has nothing to do with this mod.

BirdOPrey5 05-24-2014 06:08 PM

Quote:

Originally Posted by Mecho (Post 2499189)
no outage , and i've updated to the latest version today to see the result.

the thing is that traffic has been dropped in last few weeks. it can be from many different things but in this case i'm afraid that this plugin send the same wrong message for exists threads to search engines and indexed links goes down and traffic either.

that's a guess only. correct me if i'm wrong.

thanks

I really don't believe this mod could have caused the Google issues- the hook it runs on simply isn't even executed unless vBulletin is already showing an error message. The error message must be called first, it can't call the error message itself.

puertoblack2003 05-24-2014 09:44 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2499244)
I really don't believe this mod could have caused the Google issues- the hook it runs on simply isn't even executed unless vBulletin is already showing an error message. The error message must be called first, it can't call the error message itself.

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.

tbworld 05-24-2014 09:57 PM

Nice work @BirdoPrey, and thanks @Boothby! :)

AusPhotography 05-25-2014 11:35 AM

Thanks, working perfectly

BirdOPrey5 05-27-2014 02:44 PM

Updated to version 2.1.1. Fixed error on for VB 3.x users on legacy PHP versions (below 5.4.0)

joeychgo 06-04-2014 11:10 AM

Joe, see this thread...

http://www.vbulletin.com/forum/forum...l-css-problems

BirdOPrey5 06-04-2014 11:16 AM

Quote:

Originally Posted by joeychgo (Post 2500642)

What version of PHP is on your server?

What exact version of this plugin was installed?


All times are GMT. The time now is 07:40 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
  • Page Generation 0.01355 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete