Redirects are an important part of SEO.
They allow keeping your website’s URL structure consistent, which is good for both users and search engines.
In this post, we will discuss what redirects are and when you should use them.
We will also provide an exhaustive list of all the redirects that are available to you!
- What Are Redirects?
- Are Redirects Bad for SEO?
- When Should You Use Redirects?
- Redirects Common Examples
- Types of Redirects
- Redirects Best Practices
- Redirect Checker Tool
What Are Redirects?
Redirects can be used for many different reasons, but the most common ones are:
- Fix broken links. If you have moved a page on your website, you can use a redirect to send users (and search engines) to the new page
- Create short URLs. You can use a redirect to create a shorter and more user-friendly URL for a long and complicated one
- Handle different versions of your website. If you have a mobile version of your website, you can use redirects to send mobile users to the correct URL
Are Redirects Bad for SEO?
No, redirects are not bad for SEO. Unless you don’t abuse!
Redirects allow you to keep your website’s URL structure consistent, which is good for both users and search engines.
- Better user experience for visitors. Imagine your users landing on a “404 page not found” message. By redirecting them to the right page, you are improving the user experience.
- Easier for search engines to crawl and index. By redirecting pages to their new location, you are making it easier for search engines to find and index all of your content.
However, it is important to note that too many redirects can slow down your website.
Loading speed is a ranking factor and you want to make sure that your website is as fast as possible.
Therefore, you should only use redirects when necessary.
When Should You Use Redirects?
There are many different reasons why you might want to use redirects.
Here are some of the most common situations:
- Moving Domains
- Merging Websites
- Switching to HTTPS
- Doing a Promotion
- Deleting Pages
If you are moving your website to a new domain (for example, when you rebrand your business), you will need to set up redirects.
If you are merging two websites, you will need to set up redirects.
Switching to HTTPS
If you are switching your website from plain-text (also known as “insecure”) to secure (also known as “HTTPS“), you will need to set up redirects.
Doing a Promotion
If you are doing a promotion, you may want to set up redirects.
For example, during Black Friday, you may want to send all of your users to the sale page.
If you are deleting pages on your website, you will need to create redirects to related new content.
This will help ensure that your users can still find what they are looking for, even if the page they originally wanted is no longer available.
Also, the backlinks to the deleted page will still exist and will still count for SEO.
Redirects Common Examples
Here are some of the most common situations when using redirects:
- Send Users to the Main Version of Your Website
- Avoid Duplicate Pages
- Keep the Link Equity of an Old URL
Send Users to the Main Version of Your Website
Some websites use the old insecure protocol HTTP while many others updated to the secured version HTTPS.
If you are one of those who updated, you might want to redirect users from the old pages to the new ones so that they land on the main version of your website.
Also, you should decide either with or without “www” and redirect all other traffic to that main version.
Avoid Duplicate Pages
If you have multiple pages with the same or similar content, you can use redirects to send users (and search engines) to the right page.
This is important because duplicate content can hurt your SEO.
Keep the Link Equity of an Old URL
When setting up redirects, you also have the option to preserve the link juice of an old URL.
This is important because link equity is a measure of the strength or value of a website’s inbound links.
The more link value a website has, the better it will rank in search results.
Types of Redirects
There are many different types of redirects, but they fall into two main categories:
Server-side redirects are the most efficient and search engine-friendly type of redirect.
They use an internal server setting to redirect traffic from one URL to another.
Some common types of server-side redirects include:
- 301 redirect
- 302 redirect
- 303 redirect
- 307 redirects
- 308 redirects
A 301 redirect is a permanent redirect.
It tells search engines that a page has moved permanently and that they should update their indexes to reflect the new location.
In front of a 301 redirect, search engines transfer the SEO rankings and equity of the old page to the new one.
A 302 redirect is a temporary redirect.
It tells search engines that a page has moved temporarily and that they should not update their indexes.
When facing a 302 redirect, search engines keep the old URL in rankings and don’t transfer equity to the new page.
However, if the 302 redirect stays for a long time, search engines might treat it as a 301 redirect.
A 303 redirect is a temporary redirect and brings users to a similar resource to the one requested.
For example, it can be used to prevent form resubmission when refreshing a page.
It’s important to know that a 303 redirect doesn’t transfer SEO rankings and value like a 301 redirect.
A 307 redirect is similar to a 302 redirect but it’s used for POST, and GET requests.
This type of redirect is often used when a website needs to change its URL but doesn’t want to lose SEO rankings and equity.
A 308 redirect is similar to a 301 redirect except it keeps the HTTP method of the original request intact.
Google says they are treating it like 301:
If you use it like a 301 we'll treat it as such.
— johnmu likes 🥚 staplers 🥚 (@JohnMu) May 10, 2018
Client-side redirects are less efficient and not as search engine friendly as server-side redirects.
Some common types of client-side redirects include:
- Meta refresh redirects
- iFrame redirects
Meta Refresh Redirects
Meta refresh redirects are a type of client-side redirect.
They use the HTML meta tag to instruct web browsers to automatically refresh the page and redirect users to a new URL.
Meta refresh redirects are not as efficient or search engine friendly as other types of redirects because they require an additional round trip to the server.
Google said it is not recommended to use them, because “users may not see the content that they were expecting to find when they clicked on a search result”. Instead, use a 301 redirect.
An iFrame redirect is a type of client-side redirect. It uses an HTML element called an iFrame to embed another webpage inside the current page.
The embedded webpage then redirects users to a new page.
Redirect Best Practices
Redirects can be difficult to set up, so it’s important to get them right. Here are some best practices to follow:
- Redirect HTTP to HTTPS
- Use HSTS
- Avoid Meta Refresh Redirects
- Redirect Old Pages to New, Relevant Ones
- Avoid Redirect Chains
- Avoid Redirect Loops
Redirect HTTP to HTTPS
One of the most important redirects best practices is to redirect traffic from your non-secure HTTPS site to your secure one.
This is because Google gives preference to websites that are served over a secure connection.
By redirecting traffic from your non-secure site to your secure site, you can ensure that users will always land on the page that you want them to.
HSTS (HTTP Strict Transport Security) is a security measure that tells web browsers to only communicate with websites over a secure connection.
It’s important to use HSTS if you’re redirecting traffic from your non-secure site to your secure one.
This is because HSTS will ensure that traffic is always redirected to the secure version of your site, even if users type in the non-secure URL.
Avoid Meta Refresh Redirects
Meta refresh redirects are not as efficient or search engine friendly as other types of redirects.
Instead of using a meta refresh redirect, use a 301 redirect.
Redirect Old Pages to New, Relevant Ones
If you have old pages on your website that are no longer relevant, it’s important to redirect them to new, relevant pages.
This is because users can have a bad experience if they land on an old page that is no longer relevant.
Redirecting old pages to new, relevant ones will ensure that users always land on the page that you want them to.
Avoid Redirect Chains
A redirect chain occurs when there is more than one redirect between the initial URL and the final URL.
Redirect chains can negatively impact SEO because they add too many extra hops that need to be followed in order to reach the final page.
In addition, redirect chains can also slow down page loading times.
To avoid redirect chains, ensure that there is only one redirect between the initial and final URL.
Google officially said that it follows up to 10 redirect hops, so it won’t be really an SEO issue if you have less than that.
Avoid Redirect Loops
A redirect loop occurs when there is a continuous sequence of redirects between two pages.
Redirect loops can cause errors on your website and make it difficult for users to access the content they’re looking for.
To avoid redirect loops, ensure that there is only one redirect between the initial and final URL.
Redirect Checker Tool
If you want to check whether or not your redirects are set up correctly, you can use a redirect checker tool.
One of the best redirect checker tools is Redirect Path.
Redirect Path is a Chrome extension that shows you the redirect path of a URL.
It also highlights the redirects in red so that you can easily see them.
To use Redirect Path, simply install the extension in Chrome and then visit the URL that you want to check.
Redirect Path will show you the redirect path of the URL and highlight any redirects in red.
Redirects are a necessary part of SEO.
By following the redirect best practices in this post, you can ensure that your website is set up for a good user experience.
If you have any questions about redirects or SEO in general, feel free to leave a comment below.
I’ll be happy to help!
Ryan Biddulph says
Good job as always Erik. I needed to do a redirect a few times to deal with some site usability issues, here and there. Why not direct traffic to an active, legit link versus having a blog littered with dead links? Blogging gets a lot easier when you are willing to do legwork that avoids killing the user experience.
Erik Emanuelli says
Thanks for stopping by and leaving your thoughts.