301 Redirect

In one line

A 301 redirect is a permanent HTTP status code that forwards users and search engines to a new URL. Learn how it passes link equity and protects your SEO.

Definition & overview

301 redirect is a permanent HTTP status code that forwards users and search engine crawlers from an old URL to a new destination. It passes link equity to the new page to ensure website migrations don't destroy existing organic search rankings.

Marketing teams across the industry constantly restructure websites or update content. A common challenge during these site migrations is preserving hard-earned domain authority when URLs change. Search engines view a new URL as a completely blank slate. Moving content without clear instructions breaks the connection to past SEO efforts.

This technical SEO protocol solves the problem by telling Googlebot the URL is a 301 moved permanently, so the search engine transfers the ranking power of the original page directly to the new destination. This preserves inbound links and protects organic traffic during a website rebuild or a domain merger.

How to implement 301 redirect

Implementing URL redirection correctly depends on your tech stack. You can handle this at the server-side level or through your Content Management System (CMS).

  1. 1Identify the old URL and the final destination URL to ensure you map the correct routing.
  2. 2Choose your implementation method. You can edit server files directly, like the .htaccess file, or use dedicated WordPress plugins to handle the routing without coding.
  3. 3Write the redirection rule mapping the old path to the new path, which creates the technical bridge between the pages.
  4. 4Apply the rule in your chosen environment so the server can begin processing the forward.
  5. 5Test the old URL in an incognito browser to confirm it automatically lands on the new page with an HTTP 301 status.

Example

The most common server-side methods use an Apache web server or an NGINX configuration. For Apache, you place the instruction inside the .htaccess file found in the root directory.

Here is a realistic code snippet redirecting a single page to a new destination URL:

Redirect 301 /old-blog-post/ https://www.yourdomain.com/new-blog-post/

The first part of the rule states the command and the status code. Next, you provide the relative path of the old page. Finally, the absolute destination URL tells visitors and search engines exactly where to land.

Common mistakes

Managing complex site migrations reveals that minor technical errors often cause severe ranking drops. Preserving your link equity requires avoiding these frequent pitfalls:

  • Using a 302 redirect (temporary) instead of a 301: Teams often accidentally deploy temporary 302s during a migration. A 302 tells search engines the move isn't permanent, so it fails to pass full ranking power to the new URL and harms traffic preservation.
  • Building a redirect chain: This happens when URL A points to URL B, and URL B points to URL C. Search engine crawlers lose efficiency processing these multi-step hops, which dilutes the final page's authority.
  • Creating a redirect loop: This occurs when a URL redirects back to itself or creates an infinite cycle between two pages. Browsers will eventually crash and display an error, completely blocking users and search engines from the content.
  • Leaving a 404 error / broken link unresolved: Deleting a page without setting up a redirect leaves visitors stranded on a dead page, which wastes your site's crawl budget and harms the user experience.

Frequently asked questions

When should I use a 301 redirect?

You should deploy a 301 redirect whenever you permanently move a web page to a new URL. This is essential during a site migration, when changing domain names, or when consolidating two pieces of content to preserve organic traffic.

What are 301 and 302 redirects?

A 301 is a permanent move that transfers ranking power to the new destination. A 302 is a temporary move that tells search engines to keep the original page indexed because the change will eventually revert.

Is 301 redirect bad for SEO?

No, a correctly implemented 301 is excellent for SEO. It actively protects your search engine rankings by passing existing authority to your new pages. It only becomes problematic if implemented poorly through long chains or infinite loops.

Link equityCanonicalizationHTTP status code302 redirect307 temporary redirectPageRank

Want this handled for you?

See how your site performs across Google, AI Overviews, ChatGPT, and Gemini.

Get your free visibility report