Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] HTTP Status
This little plugin sends the correct HTTP status code on error pages.
By default, MyBB sends a "200 OK" response for every HTTP request.

Actually almost every search engines only understand HTTP status codes.
The problem is, that "200 OK" for Google & Co. means, everything is alright.

If a thread was deleted, MyBB shows an error message and sends "200 OK".
Google will never be informed about the deletion, so the link remains indexed.

With this plugin, the search engines will understood the error pages properly.


400 Bad Request, on invalid search requests.
401 Unauthorized, on invalid login credentials.
403 Forbidden, on the "no permission" error page.
404 Not Found, on invalid forums, threads, profiles etc.
503 Service Unavailable, on board closed, load limit

Upload http_status.php to ./inc/plugins
Activate the plugin [ACP > Configuration > Plugins]

No demo available at this moment. However this plugin generates no visible output.
To see the effects on error pages, you can use the Firefox Live HTTP Header addon.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Messages In This Thread
HTTP Status - by Cayo - 2010-09-16, 12:25 PM
RE: HTTP Status - by Rafael - 2010-09-17, 03:48 PM
RE: HTTP Status - by bositman - 2010-09-18, 06:46 PM
RE: HTTP Status - by Aaron - 2010-09-19, 09:51 AM
RE: HTTP Status - by Invictible - 2010-09-19, 12:24 PM
RE: HTTP Status - by frostschutz - 2010-09-20, 12:48 AM
RE: HTTP Status - by Cayo - 2010-09-20, 09:14 AM
RE: HTTP Status - by FBI - 2010-09-20, 02:10 PM
RE: HTTP Status - by Rafael - 2010-10-10, 08:42 PM
RE: HTTP Status - by The-Best - 2012-03-23, 11:00 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)