What is an HTTP status code?
HTTP is the language browsers and web servers use to talk. Every answer has a three-digit status code. Codes starting with 2 mean success. Codes starting with 4 mean a problem with the request. Codes starting with 5 mean a problem on the server.
Errors starting with 4
| Code | Meaning | What to try |
|---|---|---|
| 400 Bad Request | The server did not understand the request. | Clear browser cookies and cache. Check the address. |
| 401 Unauthorized | You must log in. | Check your user name and password. |
| 403 Forbidden | You are not allowed to see this. | Check file permissions and the .htaccess file. Folders are usually 755 and files 644. |
| 404 Not Found | The page does not exist. | Check the link and the file name. Restore a deleted page or add a redirect. |
| 408 Request Timeout | The request took too long. | Try again. Check your internet. |
| 429 Too Many Requests | Too many requests in a short time. | Wait a bit and try again. |
Errors starting with 5
| Code | Meaning | What to try |
|---|---|---|
| 500 Internal Server Error | Something broke on the server. | Check error_log. Rename .htaccess to test. Turn off new plugins. |
| 502 Bad Gateway | One server got a bad answer from another. | Wait and reload. Check if the app is running. |
| 503 Service Unavailable | The server is busy or in maintenance. | Reload later. Check your resource use. |
| 504 Gateway Timeout | Another server took too long. | Reload. Slow scripts may need fixing. |
Steps to troubleshoot
- Reload the page. Some errors last only a moment.
- Open the page in a private window or another browser.
- Clear your cache. The cache holds saved copies of pages.
- Think about your last change. Undo it.
- Log in to your control panel and open Errors or Metrics. Or open the
error_logfile in File Manager. - Rename your
.htaccessfile to.htaccess-oldand reload. If the site works, the old file had a bad rule. - Check your PHP version in Select PHP Version or MultiPHP Manager.
Warning: Back up your site before you rename or edit files.
Tip: If the error stays, open a support ticket. Send the code number and the page address.
Quick recap
- 4xx codes mean a problem with the request. 5xx codes mean a server problem.
- 404 is a missing page. 403 is no permission. 500 is a broken server or script.
- Reload, clear cache, undo your last change.
- Check
error_logand.htaccess. - Contact support with the code number.