What is a 301 redirect?

DEFINITION

A 301 redirect is a permanent redirect that automatically sends visitors and search engines from an old URL to a new one and transfers its ranking signals.

A 301 is an HTTP status code meaning "Moved Permanently." When a browser or crawler requests the old URL, the server responds with a 301 and the new location, and the visitor is taken there automatically. It can be configured on the server (for example in an .htaccess file or Nginx config), through your hosting or CDN, or with a CMS plugin.

Other redirect types include 302 and 307 for temporary moves and 308 as another permanent option. Google treats 301 and 308 as strong signals that the new URL should become canonical.

Why 301 redirects matter

When pages move, links from other websites, bookmarks and search results still point to the old addresses. Without redirects, those visitors hit a 404 error and the value of backlinks is lost. A 301 preserves the user experience and tells search engines to transfer ranking signals to the new page. Google has said that 301 redirects do not lose PageRank.

Example: a site migration

A company rebuilding its website changes /services/web-design.html to /web-design/. Before launch, it exports every old URL, maps each one to the most relevant new page, and sets up one-to-one 301 redirects. It updates internal links to point directly to new URLs, submits the new sitemap, and monitors Search Console for 404 errors. Pages with no equivalent go to the closest relevant category, not blindly to the homepage.

Best practices

  • Map old URLs to their most relevant new equivalents on a one-to-one basis.
  • Update internal links to point directly to the final URL instead of relying on redirects.
  • Keep redirects in place for at least a year, and longer if old URLs still have backlinks.
  • Test redirects with a crawler or header checker after deployment.

Common mistakes

  • Redirecting every old page to the homepage, which Google may treat as a soft 404.
  • Creating redirect chains where URL A goes to B, then C, then D.
  • Using a 302 temporary redirect for a permanent move.
Try it free: SEO CheckerCheck any web page for 25+ SEO problems in seconds: title, meta description, headings, speed, HTTPS, schema and more. Free, no sign-up.

Frequently asked questions

What is the difference between a 301 and a 302 redirect?

A 301 signals a permanent move, so search engines replace the old URL with the new one in results. A 302 signals a temporary move, so the old URL may stay indexed. Use 302 for short-term situations like a seasonal promotion page, and 301 when a change is permanent.

Do 301 redirects hurt SEO?

Properly implemented 301 redirects preserve rankings well, and Google has stated they do not lose PageRank. Problems arise from poor implementation, such as redirecting to irrelevant pages, long chains, loops, or removing redirects too soon. Short-term ranking fluctuations during migrations are common.

How long should I keep 301 redirects?

Google suggests keeping them for at least one year so signals are fully transferred. In practice, keeping them indefinitely is safest when old URLs still receive backlinks, bookmarks or traffic, since removing them would send those visitors to error pages.

Need help with this?

SEO対策 by VYZEON — どの市場でも、最初に見つけてもらえる存在に。

Fixed packages from $149/mo. Written scope, no surprises.

See SEO対策

Related terms

More SEO terms