What is a 301 Redirect?
If you need to change the URL of a page as it is shown in search engine results, Google recommends that you use a server-side 301 redirect. This is the best way to ensure that users and search engines are directed to the correct page. A 301 redirect is a status code that instructs search engines that a page/post has permanently moved to a new location. It asks the search engines to transfer prior SEO history to the new piece of content and at the same time it pushes website traffic to this new location.When to Use a 301 Redirect
- You’ve moved your site to a new domain and you want to make sure both traffic and SEO history is routed to the new destination.
- You’ve changed a URL (page, post, product, category, etc.) and you want your existing PageRank* to transfer to the new URL.
- You’ve changed a URL and you want your traffic to the old URL rerouted to the new URL.
- You’re merging two websites and want to make sure that links to outdated URLs are redirected to the correct pages.