Last updated: November 2026
Every time your browser asks a server for a page, the server answers with a short number before it sends anything else. That number is the HTTP status code. Most of the time you never see it, until something goes wrong and you meet a "404 Not Found" or a "500 Internal Server Error". Knowing what these codes mean helps you find problems on your website and fix them. This guide explains the most important ones in plain language.
An HTTP status code is a three-digit number that the server sends with its response. It says whether the request worked, whether the page moved, or whether something failed. The first digit tells you the group:
| Code | Name | What it means |
|---|---|---|
| 200 | OK | The page loaded normally. |
| 301 | Moved Permanently | The page has moved to a new address for good. |
| 302 | Found | The page is temporarily at a different address. |
| 304 | Not Modified | The browser's saved copy is still current, so nothing new is sent. |
| 307 | Temporary Redirect | A temporary redirect that keeps the request method the same. |
| 308 | Permanent Redirect | A permanent redirect that keeps the request method the same. |
| 400 | Bad Request | The server could not understand the request. |
| 401 | Unauthorized | A login is needed. |
| 403 | Forbidden | The server understood the request but refuses access. |
| 404 | Not Found | The page does not exist at this address. |
| 410 | Gone | The page was removed on purpose and is not coming back. |
| 429 | Too Many Requests | Too many requests were sent in a short time. |
| 500 | Internal Server Error | Something went wrong on the server. |
| 502 | Bad Gateway | A server in the chain got a bad answer from another server. |
| 503 | Service Unavailable | The server is temporarily unable to handle the request, for example during maintenance or overload. |
| 504 | Gateway Timeout | A server in the chain waited too long for another server. |
200 OK is what you want to see for every normal page. A page can be shown in search results only if it returns a 200 (after any redirects), and it does not carry a noindex instruction.
A redirect sends visitors and search engines from one address to another.
Google follows both kinds, and the redirect does not make a page lose its value. But the choice sends a signal about which address should be kept, so use the one that is true. If you redirect permanently, use a 301. For a hands-on guide, read how to set up the www vs non-www redirect.
Avoid redirect chains, where one address redirects to another that redirects again. They slow the page down, and search engines follow only a limited number of steps. Send the old address straight to the final one.
404 Not Found is the best-known error. It appears when a link is wrong, when a page was deleted, or when a visitor mistypes an address. A few 404s are normal on any website. Google has said that they do not cause a penalty by themselves. What matters is that your important pages do not link to dead ends. Our guide on how to find and fix broken links explains how.
410 Gone says that a page was removed on purpose. Search engines treat it in a very similar way to a 404, and it may help a removed address leave the index a little sooner.
401 and 403 mean that access is not allowed. A 401 asks for a login, and a 403 refuses outright. Search engines cannot index pages that they cannot open, so check that important public pages do not return these.
429 Too Many Requests means that the server is limiting how fast requests arrive. Search engines respond by crawling more slowly.
A 5xx code means that the problem is on the server side. Common causes are an error in your website's code, a problem with the database, a server that is overloaded, or a bad setting in a configuration file such as .htaccess.
These errors matter for SEO because search engines slow down their crawling when they see them. If they last for a long time, pages can drop out of search results. If your site must go offline for a short time, a 503 Service Unavailable with a "Retry-After" header tells search engines that the break is temporary. That is better than showing an error page with a 200 code.
A soft 404 happens when a page tells visitors "Page not found" but the server still sends a 200 OK code. Search engines then see a normal page, and they may keep a page with no real content. Google reports these in Search Console as "Soft 404". A real error page must send a real 404 code. The same problem appears when a site redirects every missing page to the home page.
curl -I https://www.example.com/ prints the headers of a page, including the status code.To test how your www and non-www addresses behave, try our www Redirect Checker.
| You see | Likely cause | What to do |
|---|---|---|
| 404 on an important page | The page was deleted or moved | Restore it, or redirect it to the closest replacement |
| 404 on pages you removed on purpose | Normal | Nothing, or use a 410 |
| Redirect chain | Several old rules stacked up | Point the old address straight to the final one |
| 302 on a permanent move | Wrong type of redirect | Change it to a 301 |
| 403 on a public page | Wrong permissions or a security rule | Check file permissions and any firewall or security plugin |
| 500 error | An error in code or a configuration file | Check the server error log, and undo your latest change |
| 503 error | Overload or maintenance | Check hosting resources, and wait for maintenance to end |
| Soft 404 | A "not found" page that sends a 200 | Make it return a real 404 |
A few are normal and do not cause a penalty. Many broken links on important pages hurt visitors and are worth fixing.
A 301 is permanent, and a 302 is temporary. Use the one that matches what you mean.
Your browser may show a saved copy, or the server may be overloaded at times, or a security rule may block some visitors.
Check your important pages once a month, and always after a redesign, a move, or a change in your server settings.
List your five most important pages, paste them into our Server Status Checker, and make sure that each one returns a 200 code.