The three most commonly used redirects are 301 Redirect, 302 Redirect, and Meta Refresh.
When you are moving a Website or Webpage from one URL to another, then you need to take the required steps to ensure your users are sent to the current URL. This process is called 301 redirect. In simple words, a 301 redirect notifies the browser that the page has moved permanently. This is the new destination, following which the browser sends the web users to the web users to the new page.
In terms of SEO, A 301 redirect is a permanent redirect which passes between 85-95% of link juice (ranking power) to the redirected page.
Let’s take an example:
If you have noticed, both the URLs above redirect to https://blog.codifica.studio/. That’s because of the 301 redirect. It’s very important to set this redirect so the domain authority from internal links to the http:// address are linked to blog.codifica.studio to improve its search rankings.
When should we use 301 redirects?
A 301 redirect is a permanent redirect. It refers to the HTTP status code of the redirected page.
It should be used when:
- There are multiple URLs to access your site. Just choose the main URL as canonical and use 301 to redirect traffic to the preferred URL or the new one.
- Migrating from http to https
- You have moved your website to a new domain and want the transaction process to be as seamless as possible
- When moving a Webpage to new URL
In 2016, Gary Illyes from Google shared the following statement:
30x redirects don’t lose PageRank anymore.
— Gary 鯨理／경리 Illyes (@methode) July 26, 2016