Redirects (3xx)

301 Moved Permanently

The page has moved to a new address for good.

Last updated · View as Markdown

Quick answer

A 301 tells browsers and search engines that the content now lives at another address. Browsers follow it automatically. It is a normal tool, not an error, but on its own it does not prove the new address works.

When to wait: No waiting needed; this is normal behaviour.

If you are visiting the website

  1. Let the browser follow it Normally you are taken to the new address automatically.
  2. Update your bookmark If you land on a new address, save that one instead.

If you run the website

  1. Redirect in one step Send old addresses straight to the final page; avoid chains.
  2. Use 308 if needed If forms send data to the old address, 308 keeps the request method unchanged.

Worked example: an old product page

Say https://example.com/old-shoes answers 301 with Location: https://example.com/shoes. The browser loads the second address without asking you.

If that second address itself answers 404, the 301 was still technically correct. A redirect hands over an address; it promises nothing about what waits there.

What a 301 does and does not prove

RFC 9110 allows clients to turn a POST into a GET when following 301 or 302. For an endpoint that must keep its method and body, 308 is the correct permanent choice.

So treat 301 as a routing fact, not a health check. Judge the destination separately.

Verify the destination, then stop

Request the final address directly and read its own status and any further Location hop. One hop to a working page is the goal.

As a visitor you cannot change the mapping. If the destination fails, report the old and the new address to the site operator and stop there.

Likely causes

  • Common The site moved to HTTPS, to www or to a new domain. (Website side)
  • Common A page was renamed. (Website side)

Is the website down? Check it now

One measurement point. Results explain what we saw, not a worldwide verdict.

Sources

Last updated: