What Is a Redirect? 301 vs 302 Explained
A redirect sends visitors from one web address to another. Learn the difference between 301 and 302 redirects, when to use each and how to avoid SEO mistakes.

Short answer: A redirect automatically sends visitors and search engines from one web address to another. A 301 redirect means "this page has moved permanently", so Google transfers the old page's ranking signals to the new address and eventually shows the new one in results; a 302 means "this is temporary", so Google generally keeps the old address indexed. Use 301 for almost everything on a small business site: new page names, a new domain, moving to HTTPS. Use 302 only when you genuinely plan to bring the original page back.
Redirects are invisible when they work and expensive when they don't. Get them wrong during a redesign or domain change and you can lose years of Google rankings in a week. Here's how they actually work and how professionals use them.
What happens during a redirect
When a browser asks your server for a page, the server replies with a status code. A normal page returns 200 OK. A missing page returns 404 Not Found. A redirect returns a code in the 300s plus a Location header saying where to go instead. The browser immediately requests the new address. To the visitor, it takes a fraction of a second and they barely notice.
Search engine crawlers see the same response, but they care a lot about which code you used, because it tells them whether to update their index.
The redirect codes you should know
| Code | Meaning | When to use |
|---|---|---|
| 301 Moved Permanently | Old address is gone for good | Renamed pages, merged pages, new domain, HTTP to HTTPS, www to non-www |
| 302 Found | Temporary move | Short-term promotions, maintenance, A/B tests |
| 307 Temporary Redirect | Like 302, but keeps the request method | Technical cases, such as form submissions |
| 308 Permanent Redirect | Like 301, but keeps the request method | Technical permanent moves; treated like 301 by Google |
| Meta refresh / JavaScript | Redirect done in the page, not the server | Avoid when a server redirect is possible |
For owners, it boils down to: permanent move, use 301 (or 308). Temporary move, use 302 (or 307).
What Google actually does with them
Here's the nuance experienced SEOs know. Google treats a 301 as a strong signal that the new URL should replace the old one in search results, and it consolidates signals such as links to the new address. With a 302, Google initially keeps the original URL indexed, assuming it's coming back. If a 302 stays in place for a long time, Google may eventually treat it as permanent, but you're leaving that decision to Google instead of telling it clearly. Google has said that redirects of either type don't inherently lose PageRank anymore; the real issue is which URL gets indexed and how quickly signals are consolidated.
So the "302s leak link juice" myth is outdated, but using the right code still matters because it's the clearest instruction you can give.
When small businesses need redirects
- Renaming pages:
/services.htmlbecomes/services/, or/plumbingbecomes/emergency-plumber-leeds. - Redesigning the site: page structures often change completely. Every old URL with traffic or links needs a home. See how to redesign without losing SEO.
- Changing domain: after a rebrand, every old URL should 301 to its equivalent on the new domain, not just to the homepage.
- Moving to HTTPS: all HTTP requests should 301 to HTTPS.
- Choosing www or non-www: pick one, redirect the other.
- Merging thin pages: five weak pages combined into one strong guide.
- Deleting a service: redirect to the closest relevant page, or let it return a 404 or 410 if nothing relevant exists.
A worked example: a dental practice redesign in Brisbane
An illustrative dental practice rebuilds its website. The old site had URLs like /index.php?page=teeth-whitening; the new site uses clean URLs like /teeth-whitening/. The developer launches without redirects. Within weeks, rankings slide, old Google results lead to error pages and the practice's mentions on local directories point to dead links.
The proper process would have been:
- Crawl the old site and export every URL, plus top pages from Google Search Console and analytics.
- Build a redirect map: a spreadsheet with old URL in one column, new URL in the other, matched one-to-one by topic.
- Implement 301s at server or edge level for every row.
- Test a sample of old URLs to confirm they land on the right page with a single hop.
- Update internal links to point directly to new URLs.
- Submit the new sitemap and watch Search Console for 404s over the following weeks.
Example redirect map rows:
| Old URL | New URL |
|---|---|
| /index.php?page=teeth-whitening | /teeth-whitening/ |
| /index.php?page=implants | /dental-implants/ |
| /index.php?page=fees | /prices/ |
| /news/opening-hours-2019 | /contact/ |
Moving sites without losing your Google rankings.
When we rebuild or move your site, we map and test every redirect as standard. See our plans, or ask about Website Rescue if a past move has already cost you traffic.
How redirects are set up
Depending on your platform:
- Apache servers: rules in the
.htaccessfile, such asRedirect 301 /old-page /new-page. - Nginx:
return 301rules in the server configuration. - Edge and CDN platforms: redirect rules or a
_redirectsfile, fast because they run before the request reaches any server. - WordPress: redirect plugins, convenient but another plugin to maintain.
- Website builders: usually a redirects panel in the settings.
Mistakes to avoid
- No redirects after a redesign. The single most common cause of post-launch ranking drops we see.
- Redirecting everything to the homepage. Google often treats this as a "soft 404" because the homepage isn't a real replacement. Match pages by topic.
- Using 302 for permanent moves. Many platforms default to 302. Check.
- Redirect chains. Old page to newer page to newest page. Each hop adds delay and risk. Point every old URL straight at the final destination.
- Redirect loops. Page A to B to A. The browser gives up with an error.
- Leaving internal links pointing at redirected URLs. Update your own links so visitors and crawlers go direct.
- Removing redirects too soon. Keep them for at least a year, ideally indefinitely. Old links and bookmarks live for years.
- Letting the old domain expire. After a rebrand, keep renewing the old domain so its redirects keep working.
How to check a redirect
Use any free "HTTP status checker" or "redirect checker" tool: paste the old URL and it shows each hop and status code. You want exactly one hop, a 301 and a final 200. In Chrome's developer tools, the Network tab shows the same thing. If you see 302, a chain, or a final 404, fix it.
Redirects and your Google Business Profile, ads and printed material
Redirects don't only matter for Google search. Think about everywhere your old addresses live: your Google Business Profile website link, paid ad landing pages, email signatures, social media bios, QR codes on vans and leaflets, and directory listings. Redirects keep all of these working, but where you can, update the source too, so visitors go straight to the right page and your tracking stays clean. A printed QR code pointing at a URL you later delete is a classic, avoidable dead end, so redirect it permanently.
Our take
We treat redirects as part of respecting the work you've already done. Every link a customer saved, every directory listing and every Google result pointing at your old pages is hard-earned value. Throwing it away during a redesign is one of the saddest, most avoidable mistakes in web design, and we've helped plenty of businesses recover from it. That's why every SiteDrum migration includes a full redirect map, implemented at the edge for speed, and checked after launch.
If your current site has no history worth keeping, say it's brand new or never ranked, then redirects matter much less and you shouldn't pay anyone a premium for them. But if you've been online for years, insist on a redirect plan from whoever builds your next site, whether that's us or someone else. And if things have already gone wrong, see why did my Google rankings drop?
Quick checklist
- Use 301 for permanent changes, 302 only for genuinely temporary ones.
- Before any redesign, export all old URLs and build a one-to-one redirect map.
- Redirect to the closest relevant page, not the homepage.
- Avoid chains and loops; one hop to the final URL.
- Update internal links and submit a fresh sitemap.
- Monitor Search Console for 404s after launch.
- Keep old domains renewed and redirects in place long term.
The bottom line
A redirect forwards one URL to another. A 301 says the move is permanent and tells Google to switch to the new address; a 302 says it's temporary. For nearly every small business change, from renamed pages to new domains, use a 301, map old pages to their closest new equivalents and test the result. It's the difference between a smooth move and starting your SEO from scratch.
Frequently asked questions
Do 301 redirects lose SEO value?
Google has said that 301 and other redirects no longer lose PageRank in themselves. What matters is redirecting to a genuinely relevant page, avoiding long chains and keeping redirects in place. Redirecting everything to the homepage, or using redirects inconsistently, is where value really gets lost.
How long should I keep 301 redirects?
At least a year and ideally indefinitely. Old bookmarks, links on other websites and directory listings can keep sending visitors for many years. Redirects cost almost nothing to keep, so there's rarely a good reason to remove them.
When should I use a 302 redirect?
Only when the move is genuinely temporary and you plan to bring the original URL back, such as during maintenance, a short promotion or a test. If you are not sure the original will return, use a 301 instead.
Should I redirect deleted pages to my homepage?
Generally no. If there is a closely related page, redirect to that. If nothing relevant exists, it's usually better to let the page return a 404 or 410, because Google often treats irrelevant homepage redirects as soft 404s anyway.
What is a redirect chain and why is it bad?
A chain is when one URL redirects to another that redirects again, perhaps several times, before reaching the final page. Each hop adds delay, creates more chances for errors and can slow how quickly search engines follow the move. Point every old URL straight at its final destination.
Want a website that brings you customers?
Tell us what you do on WhatsApp and we will send a fixed quote and a free mockup.
Get my free mockupRelated guides
Our products
Website design near you
Website design in LondonWebsite design in New YorkWebsite design in TorontoWebsite design in ChristchurchWebsite design in BristolWebsite design in DubaiWebsite design in EdinburghWebsite design in PhoenixWebsite design in DublinWebsite design in AntwerpAll cities →
SiteDrum home · All guides · Sitemap · Contact us
More tech guides
- What Is the Difference Between a Domain, Hosting and a Website?
- Do I Need an SSL Certificate for My Website?
- How Do I Get a Business Email Address With My Domain?
- Why Is My Website So Slow? Common Causes and Fixes
- Do I Need a Privacy Policy on My Website?
- How Do I Check If My Website Is Mobile Friendly?
- How Do I Redesign My Website Without Losing SEO?
- How Do I Protect My Website From Hackers?