Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 700 Bytes

File metadata and controls

27 lines (19 loc) · 700 Bytes

301 Moved Permanently

The resource has been moved permanently to a new URL.

ℹ️ Details

The URL of the requested resource has been changed permanently. The new URL is given in the response.

💡 Common Use Case

Essential for SEO when migrating a website or changing URL structures. Passes "link juice" to the new URL.

💻 Code Example

HTTP/1.1 301 Moved Permanently
Location: https://www.new-url.com/page

🖼️ Visual

301 Status Code Image

🔍 Technical Info

  • Code: 301
  • Category: Redirection

📖 Read more on MDN


🔙 Back to List