Websites & tech

HTTP status codes explained: 301 vs 302 vs 404 vs 500

Every page on your site sends a three-digit code before anything else. Here is what the common ones mean and what to do when you see them.

By Trivx Solutions · 30 November 2026 · 3 min read

An HTTP status code is the three-digit number a server sends back before it sends a page. 200 means the page loaded. 301 and 302 mean it moved. 404 means it's missing, and 500 means the server broke. Visitors rarely see these codes, but Google reads every one, and the wrong code can quietly push a page out of search results.

You can see the code for any address in a few seconds with the HTTP status code checker. Below is what each common code means and what you should do about it.

The five codes you'll see most

CodeWhat it meansWhat to do
200 OKThe page loaded normally.Nothing. This is the code every live page should return.
301 Moved PermanentlyThe page has a new address for good.Keep it, and point it straight at the final page.
302 FoundThe page has moved for a short time.Change it to 301 if the move is permanent.
404 Not FoundNo page exists at this address.Redirect it if people still visit it, or leave it if the page is gone for good.
500 Internal Server ErrorSomething broke on the server.Check your hosting error log, recent plugin updates and code changes.

301 vs 302: which redirect should you use?

Use a 301 when a page has moved for good, and a 302 only when it will come back. A 301 tells search engines to move the old page's ranking to the new address. A 302 tells them to keep the old address in results, because the move is temporary.

Here's a common mistake. You move your shop from example.com/shop to example.com/store, and your plugin or host sets up a 302 by default. Months later, Google still shows the old address and the new page struggles to rank. Switching the redirect to 301 fixes it.

Good reasons for a 302 are short. You might send visitors to a sale page for a week, or to a "back soon" page during maintenance. Everything else, such as a renamed page, a new domain or a move from http:// to https://, should be a 301.

Also watch the length of the chain. If http://example.com goes to https://example.com and then to https://www.example.com, that's two hops where one would do. The checker lists every hop, so you can ask your host or developer to redirect straight to the final address.

What to do about a 404

A 404 is normal for pages that never existed, so don't panic when you see one. It becomes a problem when people still arrive at that address. That happens through an old link on Facebook, a printed flyer or another website.

  1. Find where the visit comes from. Check your analytics or Google Search Console for the broken address.
  2. Pick the closest live page. An old product should point to its replacement or its category, not your home page.
  3. Add a 301 redirect from the old address to that page.
  4. Check the result with the status checker. You want one 301 followed by a 200.

After a redesign, paste up to 10 old addresses into the bulk check. You'll see in one table which ones still return 404.

What to do about a 500 or 503

A 500 means the server failed while building the page, so the fault is on your side, not the visitor's. On WordPress sites, a plugin or theme update is the usual cause. Undo the last change you made, then look at the error log in your hosting panel.

A 502 or 503 often means the server is overloaded or down for a short time. If it happens during a busy sale, your hosting plan may be too small. If the whole site is unreachable, run a DNS lookup to confirm your domain still points to the right server. Then check the certificate with the SSL checker.

Want a simple routine that covers all of this? Our 10-minute website health check walks through status codes, certificates, DNS and meta tags once a month. If a 500 keeps coming back and you can't find the cause, Trivx Solutions can look at your site for you.

Questions

Does a 404 page hurt my SEO?
Not on its own. Google expects some 404s, and pages that never existed should return one. It hurts when a page that had visitors or links now returns 404, because that traffic and ranking are lost. Redirect those addresses with a 301.
How long should I keep a 301 redirect?
Keep it for at least a year, and longer if old links still bring visitors. Removing it early turns the old address back into a 404, so anyone with an old bookmark or link hits a dead end.
Why does my page show 200 in the browser but 403 in the checker?
Some firewalls and security plugins block requests that don't come from a normal browser. Search engine crawlers may get blocked the same way, so check your firewall settings if Google reports the same error.
What is the difference between 500 and 503?
A 500 means the server hit an error while building the page. A 503 means the server is temporarily unable to answer, often because of overload or maintenance. Both are server-side problems you fix with your host.