301

HTTP 301 Moved Permanently

3xx Redirection

  1. Home
  2. > HTTP Status Codes >
  3. > 3xx >
  4. 301
3xx Redirection RFC 7231, Section 6.4.2

What is HTTP 301 Moved Permanently?

The 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI. The user agent should automatically redirect to the new URI and update bookmarks and links. Search engines will transfer SEO value from the old URL to the new URL. This is a critical redirect for website restructuring and domain changes.

Common Use Cases

  • Domain migration (changing domain name)
  • Enforcing HTTPS (redirecting HTTP to HTTPS)
  • URL restructuring and permalink changes
  • Canonical URL redirect for SEO
Help2Code Logo
Menu