Skip to main content
All HTTP Status Codes
301

Moved Permanently

3xx Redirection

RFC 9110

What it means

The requested resource has permanently moved to a new URL. Browsers and search engines update their records to use the new URL. Link equity (PageRank) passes to the new URL.

Common causes

  • Site migration or domain change
  • URL restructuring
  • HTTP → HTTPS upgrade
  • Removing www prefix

How to fix it

Update all links pointing to the old URL. If you control the server, ensure the Location header points to the correct permanent destination.

Example response

HTTP/1.1 301 Moved Permanently
Location: https://example.com/new-path

Test this status code live

Send real HTTP requests and inspect status codes directly in your browser.

Open HTTP Tester

Related status codes

Other 3xx Redirection codes