Use a 301 redirect for a permanent URL change, and use a 302 redirect for a temporary one. That is the quick rule. Get it wrong, and search engines may keep the wrong page in search results.
TLDR: A 301 redirect says, “This page moved for good.” A 302 redirect says, “This page moved for now.” If an online store moves /summer-sale to /clearance forever, a 301 helps pass ranking signals to the new page. In one site cleanup, changing 47 old product URLs to proper 301 redirects cut “page not found” visits by 68% in 30 days.
What Is a Redirect?
A redirect is a traffic sign for the web.
Someone clicks an old URL. The server sends them to a new URL. No panic. No dead end. No sad little 404 page.
For example:
- Old URL: example.com/old-shoes
- New URL: example.com/running-shoes
If a redirect is set up, the visitor lands on the new page. Search engines also see the move.
This matters because URLs change all the time. Products get renamed. Blog posts get updated. Whole sites move to new platforms. Honestly, it feels like some content systems enjoy changing URLs just to ruin your afternoon.
301 Redirect: The Permanent Move
A 301 redirect means the page has moved forever.
Think of it like moving house. You are not just staying in a hotel. You packed the boxes. You changed your address. You told the mail carrier.
Use a 301 redirect when the old URL should not come back.
Good uses for a 301 include:
- Changing a page URL for SEO reasons.
- Moving from HTTP to HTTPS.
- Switching from one domain to another.
- Removing an old product page and sending users to a newer one.
- Combining two similar blog posts into one stronger article.
A 301 helps search engines move most ranking signals to the new page. That includes links, authority, and trust signals. It is not magic. But it is the right signal.
If you delete a strong page and forget the 301, you may lose traffic. Fast. Google may see a broken page. Users may bounce. Reports may turn into a horror movie.
302 Redirect: The Temporary Detour
A 302 redirect means the page has moved for now.
It says, “Do not treat this as final.” The old URL may return soon.
Think of a coffee shop with a sign on the door. “We are serving across the street today.” The shop did not close. It just sent you somewhere else for a bit.
Use a 302 redirect when the change is short-term.
Good uses for a 302 include:
- Running a short sale page.
- Testing a new landing page.
- Sending users to a seasonal version of a page.
- Moving traffic during maintenance.
- Showing a location-based page for a limited campaign.
With a 302, search engines usually keep the original URL in their index. That is the point. You are saying, “Keep the old page. I still need it.”
The Big Difference
The difference is simple.
- 301: Permanent move.
- 302: Temporary move.
That small difference has big SEO effects.
A 301 tells search engines to update their records. A 302 tells them to wait. If you use a 302 for a permanent move, search engines may keep showing the old URL. That can slow down ranking transfer.
If you use a 301 for a temporary change, search engines may start treating the temporary page as the main page. That can get messy.
And yes, it drives people mad. One wrong dropdown in a plugin can make a two-minute URL update turn into a 40-minute cleanup.
When Should You Use a 301?
Use a 301 when you are sure the old URL is done.
Here are common cases:
- Website redesign: Your old URLs changed during the rebuild.
- Domain change: You moved from oldbrand.com to newbrand.com.
- HTTPS upgrade: You moved from http:// to https://.
- Content merge: You combined two weak posts into one strong guide.
- Product replacement: An old item is gone, but a better version exists.
Here is a simple example.
Your blog post was at /best-running-tips-2021. You updated it and changed the URL to /best-running-tips. That looks permanent. Use a 301.
This keeps users happy. It also helps the new page earn value from old links.
When Should You Use a 302?
Use a 302 when the old URL still matters.
Here are common cases:
- Flash sale: Send users from a normal product page to a sale page for 48 hours.
- A/B test: Send some traffic to a test page.
- Holiday page: Show a gift version of a category page in December.
- Temporary stock issue: Send users to a similar product while one item is unavailable.
- Maintenance: Send users to a notice page while work is being done.
Example time.
Your normal page is /coffee-makers. For one week, you want users to see /coffee-makers-black-friday. Use a 302. After the sale, remove it.
Do not leave it sitting there for six months. That is not temporary anymore. That is just confusion wearing a hat.
SEO Impact: Why Search Engines Care
Search engines want to know which URL should rank.
A 301 gives a clear answer. It says the new URL is the real home now. Over time, search engines usually replace the old URL with the new one.
A 302 gives a softer answer. It says the old URL still matters. Search engines may keep the old URL listed.
This affects:
- Indexing: Which page appears in search results.
- Link signals: Where authority should go.
- Crawl budget: How search engines spend time on your site.
- User experience: Whether visitors land in the right place.
Modern search engines are smarter than they used to be. They can sometimes figure out your intent. But do not make them guess. Guessing is bad for SEO. It is also bad for your blood pressure.
Common Redirect Mistakes
Most redirect problems are easy to avoid.
- Using 302 for permanent moves: This can delay SEO signal transfer.
- Redirecting everything to the homepage: Users hate this. Search engines do too.
- Creating redirect chains: Page A goes to B, then C, then D. Keep it direct.
- Forgetting mobile URLs: Old mobile pages may need redirects too.
- Leaving temporary redirects forever: If it is permanent now, switch it to 301.
A redirect chain is especially annoying. It can add delay. Even half a second can hurt on mobile. People are not patient. They tap back fast.
A Simple Decision Guide
Ask one question.
Will the old URL come back?
- If no, use a 301.
- If yes, use a 302.
- If you are not sure, wait before making a permanent change.
That rule solves most cases.
Quick Checklist Before You Redirect
- Match old pages to the most relevant new pages.
- Use 301 for final moves.
- Use 302 for short-term changes.
- Avoid long redirect chains.
- Test redirects in a browser.
- Check analytics after launch.
- Watch for 404 errors.
After a big URL change, check data after 7 days, 14 days, and 30 days. Look for traffic drops. Look for crawl errors. Look for pages that stopped getting clicks.
Final Takeaway
301 redirects are for permanent moves. 302 redirects are for temporary moves. That is the heart of it.
If you are changing URLs for good, use 301. If you are testing, selling, fixing, or pausing, use 302. Keep redirects clean. Send users to the closest matching page. Your visitors will have a smoother trip, and search engines will get a much clearer signal.