1.6.x

HTTP Status

Submitted by Nath, , Thread ID: 26388

Thread Closed
23-12-2016, 01:21 PM
#1
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.

Features
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

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

Content locked
This content has been locked. Please login or register in order to unlock it.
Need me?Message me here!



Users browsing this thread: 1 Guest(s)