tool::http-status-detail
301 Moved Permanently
The resource has permanently moved to a new URL.
Status Code
301
Name
Moved Permanently
Category
3xxDetailed Explanation
HTTP 301 Moved Permanently indicates that the requested resource has been permanently moved to a new URL. When search engines receive this response, they transfer link juice (PageRank) to the new URL and update their index. Browsers will automatically use the new URL for subsequent identical requests. This code is essential in SEO when changing domains or restructuring URLs.
Common Causes
- ▸The website domain was changed (e.g., example.com → newdomain.com)
- ▸The URL structure was redesigned (e.g., /page?id=1 → /page/1)
- ▸Migration from HTTP to HTTPS
- ▸Consolidating www and non-www versions
How to Fix
- 1.Verify that the Location header contains the correct new URL
- 2.Avoid redirect chains (301→301→301) and link directly to the final destination
- 3.Use 302 or 307 instead of 301 if the move is temporary
- 4.Check redirect rules in your server configuration (.htaccess, nginx.conf)
Related HTTP Headers
LocationCache-ControlResponse Example
HTTP/1.1 301 Moved Permanently Location: https://newdomain.com/page Cache-Control: public, max-age=31536000
Related Status Codes
300Multiple ChoicesMultiple options for the requested resource.→302FoundThe resource is temporarily at a different URL.→303See OtherRedirect to another resource using GET.→304Not ModifiedThe cached version is still valid; no new content to return.→307Temporary RedirectTemporary redirect preserving the original HTTP method.→
ad · 300×250
// related tools