RankWiki

Technical SEO

301 Redirect SEO

A 301 redirect is an HTTP status code that permanently moves a URL to a new location, preserving search visibility and link equity for SEO.

Also called
permanent redirect
Applies to
URL changes, site migrations, page consolidation
Commonly confused with
302 redirect

Key points

  • A 301 redirect tells browsers and search engines the move is permanent, not temporary.
  • It helps transfer ranking signals and link equity to the target URL.
  • Redirect chains and loops can slow crawling and create indexing problems.
  • Internal links, sitemaps, and canonicals should be updated after a permanent move.
  • Using a 301 redirect for a temporary change is a common mistake.

How it works

A 301 redirect is an HTTP status code returned by the server when a URL has permanently moved. When a browser or search engine crawler requests the old URL, the server responds with status 301 and provides the new location. The client then automatically follows to the new URL.

The redirect operates at the HTTP level, meaning the server or CMS must be configured to return the correct status code. Common methods include server-side configuration files (.htaccess for Apache, web.config for IIS), CMS plugins, or server-side scripting. The redirect should point to the most relevant equivalent page, not just the homepage, to preserve user experience and ranking signals.

Why it matters

For SEO, a 301 redirect helps preserve search visibility when a page, folder, or domain changes. It sends users and Google to the preferred URL, consolidating ranking signals and link equity. Without a proper redirect, the old URL may become a dead end, causing lost traffic and broken user experiences. Redirects are part of broader web optimization efforts.

Google documents redirects as a way to resolve an existing URL to a different one and tell Google Search a page has a new location. However, the transfer of link equity is not guaranteed; it depends on relevance, crawlability, internal linking, and canonicalization. A poorly implemented redirect can lead to soft 404s or indexing issues. After a permanent move, update the canonical tag to reflect the new URL.

Where it changes your decision

  • After a URL change: When you restructure a site or change a page's slug, a 301 redirect ensures visitors and search engines find the new location without losing accumulated authority.
  • During a domain migration: Proper domain forwarding seo requires 301 redirects from every old URL to its corresponding new URL to preserve rankings and avoid losing traffic.
  • When consolidating duplicate content: If you merge two similar pages into one, a 301 redirect from the duplicate to the canonical page helps consolidate ranking signals and avoid dilution.

Common mistakes

  • Using a 301 redirect for a temporary change instead of a 302 redirect: This tells search engines the move is permanent, which can cause them to drop the old URL from the index prematurely.
  • Redirecting every old page to the homepage instead of the closest relevant page: This frustrates users and loses the opportunity to pass specific page authority.
  • Creating redirect chains or loops: Multiple redirects slow crawling and can cause search engines to stop following the chain, losing link equity.
  • Leaving internal links and XML sitemaps pointing to redirected URLs: This wastes crawl budget and can create confusion for search engines.
Using an seo crawler tool can help identify redirect chains and broken links.
Read next Canonical Tag After understanding 301 redirects, the canonical tag page explains how to manage duplicate content and specify the preferred version of a page.

Questions people ask

HTTP 301 vs 302?

A 301 redirect indicates a permanent move, while a 302 redirect indicates a temporary move. Search engines treat them differently: a 301 passes most ranking signals to the new URL, whereas a 302 keeps the old URL as the canonical source. Use 301 for permanent changes and 302 for temporary ones.

How to do a 301 redirect?

To implement a 301 redirect, you can use server-side configuration files like .htaccess (Apache) or web.config (IIS), or use CMS plugins. For example, in Apache, add: Redirect 301 /old-page /new-page. In WordPress, plugins like Yoast SEO or Redirection can manage redirects without editing server files.

What is 301 redirect in SEO?

A 301 redirect in SEO is an HTTP status code that permanently moves a URL to a new location. It is used to preserve search rankings and user experience when a page or site changes address. It tells search engines to transfer link equity and index the new URL.

How to do a 301 redirect in WordPress?

In WordPress, you can use plugins like Yoast SEO, Redirection, or Rank Math. Go to the plugin's redirect settings, enter the old URL and the new URL, select 301 as the redirect type, and save. Alternatively, you can edit the .htaccess file via FTP, but plugins are safer for most users.

Sources

  1. Google Search Central: Redirects and Google Search Primary source for how Google treats redirects and URL changes.
  2. Google Search Central: URL moves and site migration guidance Best source for SEO migration practices and redirect implementation.
  3. Moz: Redirects, SEO Impact & Types Widely cited SEO reference explaining redirect types and use cases.