SEO
301 and 302 redirects: how to keep them to a single hop
The essentials
- A 301 says “moved for good” and passes signals to the new address. A 302 says “temporary”.
- One hop straight to the final address is ideal. The auditor warns at 2 and fails at 3 or more.
- Each hop adds load time and spends crawl budget. Bots stop following after a few.
- Internal links should point to the final address, not one that redirects.
301, 302 and friends
| Code | When to use it |
|---|---|
| 301 | Permanent change: new domain, new path, http to https |
| 308 | Like a 301, but keeps the method; useful for forms and APIs |
| 302 / 307 | Temporary detour: a promotion, a test, maintenance of a section |
A 302 left in place for months ends up treated as permanent, but meanwhile the search engine is unsure which address to index. If the change is for good, use a 301 from the start.
Chains
A chain shows up when redirects pile up over the years. The typical case:
http://yoursite.com/services → https://yoursite.com/services → https://www.yoursite.com/services → https://www.yoursite.com/services/
The fix is for every variant to go straight to the last address in one hop, and for the site’s links to use that final address.
How to fix them
- Audit the page: the auditor lists every hop with its code.
- Pick the final version: https, with or without www, with or without a trailing slash. Just one.
- Set up the server or CDN so any variant goes straight to that version.
- Update internal links, the sitemap and the canonical to use the final address.
Check it
Check your page’s redirects
Common mistakes
- Redirecting everything old to the home page in a migration. Google treats it as a 404.
- Loops, where A goes to B and B goes back to A. The page never loads.
- Server and CMS rules at the same time that overlap and add hops.
- Deleting a migration’s 301s the following year: external links still point to the old addresses.
ToolURL auditor →