Http Error: 301 Moved Permanently

301 Moved Permanently

The 301 status code indicates that a page has been permanently moved to a new location. This is typically the case when a website changes domain names or URL structures. When search engines crawl a site and encounter a 301 status code, they will update their records to reflect the new location of the page. 

301 redirects are important for SEO because they preserve search engine rankings when a page’s URL changes. If a page is moved without a 301 redirect, search engines will interpret the move as a new page, with no existing ranking. This can cause significant drops in traffic levels. 

To fix a 301 status code, simply set up a permanent redirect from the old URL to the new URL. This can be done using a number of methods, depending on your server configuration. 

Here is an example of a 301 redirect: 

  • Old URL: http://www.example.com/page1.html 
  • New URL: http://www.example.com/page2.html

 

RFC#: 7231 Section 6.4.2