Skip to content

Home  /  Blog  /  301 vs 302 Redirect: Which One Should You Use? (2026)

Search Engine Optimization (SEO)

301 vs 302 Redirect: Which One Should You Use? (2026)

301 vs 302 Redirect: Which One Should You Use? (2026)

A 301 redirect is permanent — it tells browsers and Google a page has moved for good, passing most of its SEO value to the new URL. A 302 redirect is temporary, so the original URL keeps its rankings. Use a 301 for permanent moves and a 302 only when the change is truly short-term.

Picking the wrong one is one of the quietest ways to lose search traffic. Nothing breaks, no error page appears — your rankings just slowly drain away because you told Google the move was temporary when it wasn’t. This guide explains the difference in plain English, shows you exactly when to use each, and gives you a simple decision tree you can use every time.

What Is a Redirect, Exactly?

A redirect is an instruction your server sends when someone (or Google) visits a URL that should send them somewhere else. Instead of showing the old page, the server says “go here instead” and the browser follows along automatically. The visitor barely notices — the address bar just changes.

The three-digit number is the HTTP status code, and it’s the part that matters for SEO:

  • 301 = “moved permanently.” The old URL is gone for good. Pass the ranking power to the new one.
  • 302 = “moved temporarily.” The old URL will be back. Keep its rankings right where they are.

Google treats these two very differently, which is why the choice matters.

How Do 301 and 302 Redirects Affect SEO?

This is where the real difference lives:

  • A 301 passes link equity. When you 301 an old page to a new one, most of the old page’s ranking power — the value built up from backlinks and history — transfers to the new URL. Google also removes the old URL from its index and indexes the new one instead. This is what you want for permanent moves. Before a big move, work through our SEO audit checklist so no page gets missed.
  • A 302 keeps the old URL in the index. Google treats a 302 as “they’ll be back,” so it keeps ranking the original URL and doesn’t transfer its authority to the destination. If the “temporary” move lasts months, you’ve effectively stranded your rankings on a URL that just bounces visitors elsewhere.

Here’s the catch that trips people up: Google is smart enough to eventually treat a long-standing 302 like a 301. But “eventually” can mean many months, and during that time you’re leaking value. Don’t rely on Google to fix your mistake — set the right redirect from the start.

When Should You Use a 301 Redirect?

Use a 301 whenever the old URL is never coming back. Common situations:

  • You’re moving to a new domain. Every old URL gets a 301 to its matching new URL. This is the big one — get it wrong and years of SEO work evaporates.
  • You’re switching from HTTP to HTTPS. The http version should 301 to the https version, permanently.
  • You’re restructuring URLs. Changing /blog/old-post-title to /blog/new-post-title? 301 the old one.
  • You’re merging pages. Combining three thin pages into one strong guide? 301 the two retirees to the survivor.
  • You’re deleting a page with backlinks. Don’t let a valuable old URL die as a 404 — 301 it to the closest relevant page so the link value isn’t wasted.
  • You’re fixing www vs. non-www or trailing-slash duplicates. Pick one canonical version and 301 the other to it, permanently.

Rule of thumb: if you’d bet money the old URL will never be used again, it’s a 301.

When Should You Use a 302 Redirect?

302s are for genuinely temporary situations — the page will be back, and you want Google to keep ranking the original URL:

  • A/B testing a page. You’re testing a variation for a few weeks, then picking a winner. The original should keep its rankings during the test.
  • A seasonal or promotional page. A holiday sale page that goes live every December and comes down in January. Redirect the regular page temporarily, then remove the redirect when the season ends.
  • Site maintenance. The page is down for a day or two while you fix something. A 302 tells everyone — including Google — that this is temporary.
  • Geo or device-based routing. Sending mobile users to a temporary mobile URL, or visitors to a country-specific version during a short campaign.

Notice the pattern: every legitimate 302 has an end date. If you can’t name the day the redirect comes down, it’s probably a 301.

What’s the Quick Decision Tree?

Decision tree for choosing between a 301 and 302 redirect, starting with whether the old URL will ever be used again and branching on whether the change is temporary or a migration.
301 or 302? Follow the decision tree

Run through these questions in order every time you set up a redirect:

  • Will the old URL ever be used again?
  • No, never → 301
  • Yes, it’s coming back → keep going
  • Is the change temporary with a clear end date?
  • Yes (a test, a season, maintenance) → 302
  • No, or “we’ll see” → 301
  • Are you merging, migrating, or restructuring?
  • Yes → 301, always

When in doubt, go with 301. A 301 used temporarily causes far less damage than a 302 used permanently — the wrong 302 silently bleeds rankings for months, while an unnecessary 301 just needs to be removed later.

How Do You Set Up 301 and 302 Redirects?

The method depends on your setup:

  • WordPress: The free Redirection plugin is the simplest option — you enter the old URL, the new URL, and pick 301 or 302 from a dropdown. Rank Math and Yoast SEO Premium also have built-in redirect managers.
  • Apache servers (.htaccess): A 301 looks like Redirect 301 /old-page /new-page and a 302 like Redirect 302 /old-page /new-page. Edit carefully — one typo in .htaccess can take down your whole site, so back it up first.
  • Nginx servers: 301s use return 301 and 302s use return 302 in your server block config.
  • Shopify, Wix, Squarespace: These platforms handle redirects in their settings panels. Shopify, for example, creates 301s automatically when you change a product URL — you can manage them under Settings > URL redirects.
  • Cloudflare: Page Rules or Bulk Redirects can handle redirects at the edge, which is handy during migrations.

After setting any redirect, test it: visit the old URL and confirm you land on the right page, then check the status code with a free header checker tool (search “http status checker”) to confirm it’s the 301 or 302 you intended. Plugins sometimes default to the wrong type. If Google seems to see something different from what you expect, see our guide on how to fix crawl errors in Search Console.

What Are the Most Common Redirect Mistakes?

  • Using a 302 for a permanent move. The classic error. The old URL keeps its rankings on paper while sending every visitor away — the worst of both worlds.
  • Redirect chains. Page A redirects to Page B, which redirects to Page C. Each hop leaks a little value and slows things down. Always point old URLs directly at the final destination.
  • Redirecting everything to the homepage. When you delete pages, it’s tempting to 301 them all home. But Google treats this as a soft 404 — the link value doesn’t transfer because the homepage isn’t relevant to the old content. Redirect to the closest matching page instead, or let truly dead pages 404.
  • Forgetting to update internal links. Redirects are a safety net, not a plan — follow our internal linking best practices and update your site’s internal links to point at the new URLs directly so visitors and crawlers don’t take the detour.
  • Leaving redirect loops. Page A points to Page B, which points back to Page A. Browsers give up and show an error. Always test after setup.
  • Not monitoring after a migration. Check Search Console‘s indexing and coverage reports in the weeks after big redirect changes. If pages are missing from search results, work through our steps for why your website isn’t indexed by Google. Catching a misconfigured batch early saves months of lost traffic.

Frequently Asked Questions

Most of it, yes. Google has indicated that 301 redirects pass PageRank, and in practice the loss is generally small. What you do lose is the small amount of value that evaporates with any URL change — which is why you shouldn’t redirect pages for fun. Only redirect when there’s a real reason.

How long should I keep a 301 redirect in place?

At least a year, and ideally indefinitely for URLs with backlinks. Google needs time to process the move, and old backlinks around the web will keep sending visitors to the old URL for years. Removing the redirect too early turns those visits into 404s.

Can I change a 302 to a 301 later?

Yes, and you should as soon as you realize the move is permanent. Just update the redirect type. Google will pick up the change on its next crawl. The sooner you fix it, the less ranking value sits in limbo.

What’s the difference between a 302 and a 307 redirect?

Both mean “temporary,” but 307 is stricter: it guarantees the browser resends the request with the same method (important for form submissions). For ordinary page redirects, 302 and 307 behave the same for SEO purposes. Most people never need to think about 307.

Will too many redirects hurt my site?

The redirects themselves aren’t a penalty, but chains and loops waste crawl budget and slow down visitors. Keep redirect chains to a single hop, clean up old ones once internal links are updated, and you’ll be fine. A periodic run through a technical SEO audit checklist will catch chains and loops before they pile up.

Redirects look simple — it’s just one number, after all — but that number tells Google how to treat years of your hard-earned rankings. Use 301 for anything permanent, 302 for anything with an end date, and test every single one. And if you’re planning a migration, rebrand, or site restructure and don’t want to gamble with your traffic, take a look at our digital marketing services — a migration planned to protect your rankings.

About Adii Digital

What services does Adii Digital offer?

Adii Digital is a full-service digital marketing agency. Our 15 services include SEO services, Google & Meta Ads, social media marketing, content marketing, email marketing, brand design & strategy, custom websites, landing pages, speed optimization, SEO-ready structure, lead generation, cold outreach systems, audience analytics, conversion tracking, and growth reporting.

Where is Adii Digital based, and who do you work with?

Adii Digital serves businesses in the USA, UK, Canada & Australia — fully online — from local businesses that want more customers nearby to companies looking to grow their reach nationally and internationally.

How do I get started with Adii Digital?

Just reach out through the contact page or WhatsApp. Tell us about your business and goals, and we will suggest the right mix of services — whether that is SEO, paid ads, social media, or a complete digital marketing plan.

Does Adii Digital also sell digital products?

Yes. Alongside our agency services, our online store sells ready-to-use digital products — premium AI tools, video editing software, and productivity subscriptions — with instant delivery and local payment options like Easypaisa, JazzCash, and bank transfer.

How long does SEO take to show results?

SEO is a long-term investment. Most websites start seeing meaningful movement in 3–6 months, depending on competition, the current state of the site, and how consistently the work is done. We focus on sustainable rankings, not shortcuts.

How do I pay for products in the Adii Digital store?

You can pay with Easypaisa, JazzCash, SadaPay, NayaPay, direct bank transfer, or international bank transfer (SWIFT). After payment, just send your receipt on WhatsApp and you will get your product delivered digitally.

Found This Article Helpful? Share It!

Back to blog

Want results like these for your business?

Message us on WhatsApp — we'll map the fastest route to your goals.

[chatbot]