⭐ Beginner — No coding experience needed
HTTP Errors: Finding and Fixing 404s, 500s and Redirect Loops
Learn what HTTP status codes mean, why 404s and 500s hurt your SEO, and how to fix every broken URL on your site step by step.
What you will learn in this guide
- What HTTP status codes mean (200, 301, 302, 404, 500)
- Which errors hurt SEO and which are normal
- How to find every broken URL on your site
- How to fix 404s with 301 redirects properly
- When to leave a URL as a 404 instead of redirecting
1 What are HTTP status codes?
Every time a browser or Googlebot requests a page, your server responds with a 3-digit code. The code tells the client whether the page exists and what to do next.
| Code | Meaning | SEO impact |
|---|---|---|
| 200 OK | Page loaded successfully | ✅ Good |
| 301 Moved Permanently | URL moved to a new location | ✅ Passes most ranking signal |
| 302 Found | Temporary move | ⚠ Use only when truly temporary |
| 404 Not Found | Page does not exist | ⚠ Lost equity if old URL had links |
| 410 Gone | Page intentionally removed | ✅ Cleaner than 404 for removals |
| 500 Internal Server Error | Server crashed | 🔴 Critical — fix immediately |
| 503 Service Unavailable | Server overloaded | 🔴 Use for maintenance only |
2 Why 404s hurt SEO (sometimes)
A small number of 404s is normal. Google expects them. They become a problem when:
- Internal links on your site point to 404 URLs (wastes crawl budget)
- External backlinks point to 404 URLs (lost ranking signal)
- You have hundreds or thousands of them (signals a broken site)
- Important pages return 404 by accident
Rule of thumb:If a 404 URL has backlinks or used to rank, 301-redirect it. If it was always meaningless, let it stay 404.
3 How to find every broken URL
- 1Run the HTTP error auditOpen audit-tools.html#http-errors. The crawler follows every link.
- 2Filter by error typeSort by 404 first, then 500, then 3xx redirects. The 5xx errors are most urgent.
- 3Check Google Search ConsoleThe "Not found (404)" report shows URLs Google has tried to crawl. These are most important to fix because they have backlinks.
- 4Cross-reference with backlinksUse the Backlink Tools to find which broken URLs have inbound links. These are your priority for 301 redirects.
4 How to fix broken pages
Apply this decision tree:
| URL has backlinks? | Replacement exists? | Action |
|---|---|---|
| Yes | Yes (relevant) | 301 redirect to replacement |
| Yes | No (nothing similar) | 301 to parent category OR relevant hub page |
| No | Yes | 301 redirect |
| No | No | Leave as 404 OR change to 410 Gone |
| — | Internal link error | Fix the link itself — don’t redirect |
Do not redirect every 404 to the homepage.Google treats homepage redirects of unrelated URLs as soft-404s, which is worse than a clean 404.