GrowthPedia

301 Redirect

A 301 redirect is an HTTP status code that tells browsers and search engines a URL has moved permanently to a new address.

Level: BeginnerRead: 3 minUpdated: 27 Jul 2026By Vera Lindqvist

Key facts

  • A 301 redirect signals a permanent move from one URL to another.
  • It passes most link equity (ranking signals) to the destination URL.
  • Search engines eventually treat the new URL as the canonical version.
  • A 301 is the correct choice for permanent changes; a 302 is for temporary ones.
  • Google has stated that 301 redirects do not inherently harm PageRank.
  • Incorrect implementation (chains, loops) can still create SEO problems.

Also called

permanent redirect, HTTP 301

Use it for

permanent URL changes

Applies to

Google / Bing / all search engines

How a 301 Redirect Works

When a browser or search engine crawler requests a URL that has a 301 redirect, the server responds with the HTTP status code 301 and a Location header pointing to the new URL. The client then follows that header to the new address.

For search engines, the 301 tells them to transfer most of the signals from the old URL to the new one. This includes Link Equity, which is the value passed from other sites linking to the old page. Google has confirmed that 301 redirects do not cause a penalty by themselves.

The process is invisible to most users. They land on the correct page without seeing the redirect. However, the redirect adds a small amount of latency because the browser must make an extra round trip to the server.

Understanding 301 SEO helps in planning redirects.

When to Use a 301 Redirect

You should use a 301 redirect when a URL has permanently changed. Common scenarios include:

A page is deleted or its content has moved to a new URL. A site migrates to a new domain. You switch from HTTP to HTTPS. You merge two pages into one. You change your URL structure (for example, from a non-SEO Friendly URL to a descriptive one). In each case, the old URL should redirect to the closest matching new page. Redirecting all old URLs to the homepage is a common mistake that hurts user experience and dilutes link equity. For Domain Forwarding SEO, a 301 redirect is the standard method.

  • Page moved to a new URL
  • Site migration to a new domain
  • HTTP to HTTPS migration
  • Merging two pages into one
  • Changing URL structure

301 vs 302 vs 307 vs 308

The choice between redirect status codes matters for SEO. A 301 is for permanent moves. A 302 is for temporary moves and does not transfer link equity. A 307 is a temporary redirect that preserves the request method. A 308 is a permanent redirect that also preserves the request method.

For most SEO purposes, use a 301 for permanent changes and a 302 for temporary ones. The 307 and 308 are less commonly used in SEO contexts but are relevant for API endpoints or when you need to preserve POST data.

Search engines treat 301 and 308 similarly for ranking signals. Both pass link equity. However, 308 is newer and not as widely supported by older browsers. Stick with 301 unless you have a specific technical reason for 308. A Meta Refresh SEO is a client-side redirect and is not recommended for SEO.

Common Implementation Methods

You can implement a 301 redirect at the server level or through your content management system. The most common methods are:

For Apache servers, you edit the .htaccess file. For Nginx, you edit the server configuration. Many CMS platforms like WordPress have plugins or built-in redirect managers. Some hosting providers offer a redirect tool in their control panel.

Regardless of method, test each redirect after implementation. Use a browser or a tool like curl to verify the status code. Also check that the redirect does not create a chain (A → B → C) or a loop (A → B → A).

  • .htaccess (Apache)
  • Nginx server block
  • WordPress plugins (e.g., Redirection)
  • Hosting control panel (e.g., cPanel)
  • Server-side code (e.g., PHP header())

How 301 Redirects Affect Link Equity and Canonicalization

A 301 redirect passes most link equity from the old URL to the new one. Google has stated that redirects do not inherently harm PageRank. However, the exact percentage of equity passed is not publicly known and may vary.

Search engines also use 301 redirects to determine the canonical URL. If you have multiple URLs pointing to the same content, a 301 from the duplicates to the preferred URL helps consolidate signals. This is similar to using a canonical url tag, but a redirect is stronger because it forces the browser and crawler to the new URL.

For domain migrations, a 301 redirect from every old URL to the corresponding new URL is essential. This preserves rankings and traffic. Without redirects, the old domain will eventually drop out of the index, and the new domain will start from scratch.

301 Redirects and HTTPS Migration

When you move a site from HTTP to HTTPS, you must use 301 redirects from every HTTP URL to its HTTPS counterpart. This is a standard part of HTTPS SEO best practices.

The redirect should be a direct 301 from http://example.com/page to https://example.com/page. Do not redirect to the homepage or to a different path. Also ensure that all internal links point to the HTTPS version to avoid unnecessary redirects.

Google recommends using a 301 redirect for the entire site during an HTTPS migration. This signals that the move is permanent and helps preserve rankings.

Comparison of Common HTTP Redirect Status Codes
Status CodeTypeSEO UsePasses Link Equity
301PermanentYesYes
302TemporaryNoNo
307TemporaryNoNo
308PermanentYesYes

Common mistakes

  • Using a 301 for a temporary change Search engines treat the move as permanent, which can cause ranking loss when the original URL is restored.
  • Redirecting many old URLs to the homepage Users and search engines land on an irrelevant page, reducing user experience and diluting link equity.
  • Creating redirect chains (A → B → C) Adds latency and may cause search engines to stop following the chain, losing link equity.
  • Leaving internal links pointed at old URLs after the redirect is live Creates unnecessary redirects, slowing down the site and wasting crawl budget.

Questions

What is the difference between a 301 and 302 redirect?

A 301 redirect is for permanent moves and passes link equity. A 302 is for temporary moves and does not pass link equity. Use 301 for permanent URL changes and 302 for temporary ones.

How do I create a 301 redirect in WordPress?

You can use a plugin like Redirection or Yoast SEO. Alternatively, edit your .htaccess file if you have access. Always test the redirect after setting it up.

Does a 301 redirect hurt SEO?

No, a properly implemented 301 redirect does not hurt SEO. Google has stated that redirects do not inherently harm PageRank. However, chains, loops, or redirecting to irrelevant pages can cause issues.

What is the difference between 301 and 308 redirect?

Both are permanent redirects and pass link equity. The 308 preserves the HTTP request method (e.g., POST), while the 301 may change it to GET. For most SEO purposes, 301 is sufficient.

See also

Sources

  1. Google Search Central: 301 Redirects developers.google.com
  2. Google Search Central: Site Moves with URL Changes developers.google.com
  3. MDN Web Docs: 301 Moved Permanently developer.mozilla.org
  4. Bing Webmaster Guidelines bing.com

Outbound links are unpaid and nofollow. If one has gone stale, tell me.