Back to all status codesRead more on MDN
301
Moved Permanently
Redirection
RFC 7231
The requested resource has been permanently moved to a new URL.
Detailed Information
The 301 status code indicates that the requested resource has been permanently moved to a new URL.
Common Examples
- •URL redirection
- •Resource migration
- •Domain changes
Common Uses
- •URL redirection
- •Resource migration
- •Domain changes
Best Practices
- •Use when the resource has been permanently moved
- •Include Location header with new URL
- •Ensure proper caching headers are set
Additional Resources
Available for Freelance
Fullstack developer specializing in React, Next.js, and Node.js. Let's build something amazing together!
Stay in the loop
Get notified about new tools and updates