Glossaryby Mark

What Is a 301 Redirect and When to Use It for SEO?

What a 301 redirect is, how it passes SEO value to the new URL and when to use it instead of a 302. With examples and common mistakes to avoid.

You change the URL of an article that has ranked for three years and the next day its traffic drops to zero. Every link that pointed to the old address now lands on an error page, and Google reads that as content that disappeared.

A 301 redirect prevents exactly that outcome, and below you will see how it works, when to use it and which mistakes make it useless.

Article summary
  • ✓A 301 redirect signals that a URL changed address permanently.
  • ✓Google moves the old URL's signals to the new one over time.
  • ✓A 302 is temporary and fits another case: tests or maintenance.
  • ✓Redirect chains waste crawl budget and slow the page down.
  • ✓Update internal links so they point straight to the final URL.

What is a 301 redirect?

A 301 redirect is a server response with HTTP status 301 ("Moved Permanently") that tells browsers and search engines a URL has changed address for good and that they should request the new one. Anyone arriving through the old address lands on the new one without noticing, and Google stops showing the old one over time.

The difference from a 302 redirect lies in intent: a 301 declares the change permanent, so Google moves the old URL's accumulated signals to the new one, while a 302 declares it temporary and keeps the old URL as the main address.

How does a 301 redirect work?

When someone requests a URL, the server answers with the 301 code and the new location in the Location header. The browser jumps to that location and Google's crawler records the change. Google has stated that 3xx redirects do not lose PageRank by themselves, so what carries over is the value of the links that pointed to the old address.

A typical case is moving from /blog/seo-guide to /blog/seo. Without a redirect, external links that pointed to the first end in a 404 error. With one, those links keep contributing to the new page, and a visitor arriving from an old bookmark finds it without errors.

Common mistakes with 301s

Redirect chains

A leads to B and B leads to C. Each hop adds latency and spends crawl budget, so A should point straight to C.

Redirecting everything to the homepage

Sending different pages to the homepage is treated as a soft 404 and does not pass their value.

Using a 302 for permanent moves

The search engine keeps treating the old URL as the main one for longer than needed.

Leaving old internal links

If the menu still points to the old URL, every visit goes through a hop that is no longer needed.

When should you use a 301, and when not?

Use a 301 when you change a slug, migrate a domain, move from HTTP to HTTPS, merge two duplicate pages or remove a page that has a close equivalent. The rule is that the destination URL must answer the same intent as the source.

Do not use it for a page that exists and will return, like a seasonal offer: that calls for a 302, because a 301 leaves Google believing the old page is gone for good. It also fails as a way to hide content with no replacement, where the right answer is a 410 status or a helpful 404 page.

Next step

The next step is to audit your site: export the URLs that answer with a 301, look for chains of more than one hop and fix internal links so they point to the final address. Your CMS or a crawler like Screaming Frog gives you that list in minutes.

Related terms: Canonical URL, Indexation, Internal Linking.

Frequently asked questions

Does a 301 redirect lose rankings?

Google has stated that 3xx redirects do not lose PageRank just by redirecting. A temporary dip shows while it reprocesses the change, and it usually recovers when the destination covers the same intent.

How long should I keep a 301?

At least a year, and as long as the old URL still gets links or visits. Removing it earlier brings back the 404 error for people still using it.

What is the difference between 301 and 302?

A 301 signals a permanent change and moves signals to the new URL, and a 302 signals a temporary change and keeps the old one as the main address. Choose based on whether the old URL will come back.

How do I create a 301 redirect?

It depends on your platform: in WordPress you use a redirect plugin or the .htaccess file, and in Nginx a return 301 rule. Afterwards, check the response with an HTTP header tool.

Published:
MARK

Ready for MARK to write your next articles?

Set it up in minutes. Researched, optimized for SEO and GEO, and published straight to your CMS.