Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

301 is the HTTP status code for a permanent redirect.

301 Moved Permanently is the HTTP status code used for permanent URL redirection.

The 301 status code is used to indicate that the page or other resource formerly available at the redirected URL has been permanently moved to another URL, and that the new URL should be used to access it in the future. This is in contrast with temporary redirects (status codes 302, 303 and 307), which are used to indicate that, while the content may currently be found at the target URL, the original URL should still be used to request it in the future.

In particular, web search engines typically treat a 301 redirect as an indication that the redirected URL should be dropped from their index and replaced with the target URL, with any "PageRank" or other such relevance metrics of the original URL transferred to the target.

See also:

history | excerpt history