301 Moved Permanently
Gone for good, go here instead. Browsers and crawlers cache it hard.
301Redirection
- What it means
- Gone for good, go here instead. Browsers and crawlers cache it hard.
- In practice
- Browsers cache a 301 aggressively — often with no expiry — and search engines transfer the old URL’s ranking to the new one. That makes it the right code for a real move and a painful one to send by mistake: visitors keep being redirected long after you revert it. When testing redirects, use 302 first and switch to 301 once you are sure. Historically clients may also turn a POST into a GET across a 301; if the method must survive, use 308.
- Whose problem is it?
- Nobody — the resource is elsewhere, and the client is being told where.
Often confused with