HTTP status code

HTTP 301 Moved Permanently

301 Moved Permanently means the resource has moved permanently to a new URL, given in the Location header.

Reviewed: 6 November 2026
Class
3xx · Redirects
Where the problem is
Redirect — not an error
Who fixes it
Check that the redirect goes to the right page.

What it means

On a 301, browsers and search engines continue to the URL in the Location header. Browsers often cache permanent redirects, so a misconfigured 301 is hard to undo quickly for visitors. When redirecting a POST request, the browser may switch the method to GET; use 308 to preserve the method.

Most common causes

  • Moving to a new domain or from HTTP to HTTPS.
  • Changing the URL structure (e.g. dropping .html or /index.php).
  • Consolidating the www and non-www versions.
  • Merging two pages with the same content.

What you can do as a visitor

  1. The redirect is usually correct. If it goes to the wrong page, clear your browser cache, because a 301 stays cached.
  2. If the browser keeps going round in circles, it is a redirect loop. See ERR_TOO_MANY_REDIRECTS.

Shows the HTTP status, redirect chain, HTTPS and basic SEO signals. Works for public addresses only.

What the site owner or developer should do

  1. Redirect straight to the final URL, without chains (A→B→C).
  2. Redirect to a page with matching content, not everything to the homepage.
  3. Update internal links, canonicals and the sitemap to the new URL.
  4. Keep redirects in place for at least a year, and longer after a domain move.

Impact on SEO and Google

Google treats a 301 as a strong signal that the new URL is canonical and passes ranking signals to it. Chains and loops slow down crawling, and a redirect to an unrelated page may be treated as a soft 404.

Frequently asked questions

Does a 301 lose SEO value?

According to Google, a correct 301 to a relevant page does not lose PageRank.

301 or 308?

Both are permanent. 308 guarantees the method (e.g. POST) is preserved; for regular pages a 301 is perfectly fine.

Sources