301 Redirects

this HTTP status code checker.

Look for pages with two or more redirects.

To check more than 100 pages in one go, check the Internal pages report in Ahrefs’ Site Audit for “Redirect chain” errors.

Clicking this will reveal all the URLs in the chain, including the final destination page.

There are two ways to fix these errors;

  1. Replace the redirect chain with a single 301 redirect. Instead of Page 1 > Page 2 > Page 3 > Page 4, the redirect becomes Page 1 > Page 4.
  2. Replace internal links to redirected pages with direct links to the final URL. This prevents Google and other bots from crawling the redirect chains. More importantly, it prevents actual humans (you know, the type who *might* buy something from your website) from having to deal with the slowness of multiple redirects when they click a link.

Where practical, the second solution is the best option.

To do that, sort the list of redirect chains by the “No. of inlinks” column from high to low. Then click on the number of inlinks to see all internal links to the redirected page.

Replace the internal links on the affected pages with the direct links to the final destination URL.

4. Fix redirect loops

Redirect loops occur when a URL redirects back to one of the other URLs in the chain. This creates an infinite loop of redirects that can confuse and trap both search engines and users alike.

Example: Page 1 > Page 2 > Page 3 > Page 2 > Page 3 > Page 2 > Page 3 […]

These are user-experience killers because they usually result in a response like this from the browser:

You can find redirect loop errors in batches of 100 using that same HTTP status code checker we used before. Look for “Exceeded maximum number of redirects” errors.

For more than 100 pages, check the Internal pages report in Ahrefs’ Site Audit for “Redirect loop” errors.

Click this to reveal all pages with redirect loop issues, then fix each issue in one of two ways:

  1. If the URL is not supposed to redirect, change its HTTP response code to 200.
  2. If the URL is supposed to redirect, fix the final destination URL and remove the loop. Alternatively, remove or replace all inlinks to the redirecting URL.

5. Fix broken redirects

Broken redirects are pages that redirect to a dead page (i.e., one that returns a 4XX or 5XX HTTP response code).

Example: Page 1 (301) > Page 2 (404)

These are bad because neither visitors nor search engine bots can access the final URLs. Because of that, most visitors will leave your website, and most search engines will abandon the crawl.

You can check for these errors in batches of 100 using an HTTP status code checker.

To check more pages, look for “Broken redirect” errors in the Internal pages report in Ahrefs’ Site Audit.

Fix these errors by either:

  1. Reinstating the dead page (if deleted accidentally)
  2. Removing the inlinks to the redirected URL.

6. Redirect 404 pages

Pages that return a 404 status are dead, and so the browser returns a page like this:

Now, there are times when a user seeing this page makes sense. If someone types the wrong URL into their browser, for example, then the error page lets them know that something is wrong. You can see an example of that above—it makes total sense to return a 404 page for this URL.

Having said that, pages with 404 status codes are a problem when:

  1. They’re crawlable. Crawlable usually equates to clickable. And if they’re clickable, some users are going to end up clicking internal links on your site only to see a dead page. That’s not great for user experience.
  2. They have backlinks. Because 404 pages aren’t accessible, any backlinks that point to them are effectively wasted.

To tackle that first issue, check the Internal links report in Ahrefs’ Site Audit for “404 page” errors.

Click this to see all 404 pages that were found during the crawl.

Next, hit the “Manage columns” button, add the “No. of dofollow backlinks” column, hit “Apply,” then sort by this column from high to low.

Check the Backlinks report in Ahrefs Site Explorer for any pages with one or more “dofollow” backlinks. There’s a chance these links may be valuable. If they are, you’ll want to redirect (301) that page to another relevant resource on your website.

IMPORTANT

Redirecting 404 pages to somewhere relevant is key. Google treats irrelevant 301 redirects as soft 404’s, so there’s no real advantage of redirecting unless you’re doing so to a similar and relevant page.

Google’s John Mueller explains more in this video.

If you don’t have a similar or relevant page, and you still have a 404 page with lots of high-quality backlinks then, honestly, it may be worth republishing the content that used to exist at that location.

Think of it like this:

If the dead page was valuable enough to attract high-quality backlinks in the first place, then it’s worth questioning why it no longer exists. I mean, it’s clearly a topic people are interested in.

For pages without dofollow backlinks, fix them by either:

  1. Reinstating the dead page at the given URL
  2. Redirecting (301) the dead page to another relevant page
  3. Removing or replacing all internal links to the dead page

IMPORTANT. If you opt for #3, make sure that you not only replace the internal links but also the anchor text and surrounding text where necessary.

7. Replace 302 redirects and meta refresh redirects with 301s

Never use 302 redirects or meta refresh redirects for permanent redirects.

302 redirects are for temporary moves, and Google recommends not to use meta refresh redirects at all if possible. So, if you have either of these on your site, you should aim to either remove them or replace with 301 redirects.

To see pages with these HTTP status codes, check the Internal pages report in Ahrefs’ Site Audit for “Meta refresh redirect” and “302 redirect” issues.

Luckily, both these issues can be fixed in the same way:

  • If the redirect is permanent, use a 301 instead.
  • If the redirect isn’t permanent, remove the redirect.

You should also aim to remove or replace internal links to redirected pages, especially if they’re likely to confuse users who click on them.

8. Look for redirected (301) pages that get organic traffic

Pages with HTTP 301 status codes shouldn’t get organic traffic because they shouldn’t be in Google’s index. If such pages are getting traffic, it means that Google hasn’t yet seen the redirect.

To check for 3XX pages with traffic, check the Overview report in Ahrefs’ Site Audit for “3XX page receives organic traffic” errors.

If you got your list of 3XX pages from elsewhere (e.g., an HTTP status code checker), then paste them into Ahrefs’ Batch Analysis tool in batches of up to 200 to see page-level organic traffic.

NOTE. You could also check organic traffic in Google Analytics or Google Search Console.

Now, if you only recently added the 301 redirect, this likely isn’t much of an issue. Google should see it during their next crawl, after which they should deindex the page.

To speed up that process, paste the URL into the URL Inspection tool in Google Search Console, then hit “Request indexing.”

You should also remove these pages from your sitemap (see #2) and re-submit via Google  Search Console.

9. Look for “bad” external 301s

Most websites link out to relevant third-party sites and resources.

That’s fine… until the page to which to externally link gets redirected elsewhere.

For example, imagine that you link out to a useful resource. Twelve months later, that domain expires and gets picked up by an expired domain hunter who deletes the resource and redirects to their “money” site. Now you’re unintentionally linking to something irrelevant (and potentially even harmful) to your visitors.

For this reason, it’s important to check for “bad” external 301’s from time to time.

To do this, head to the External pages report in Ahrefs’ Site Audit and look for “External 3XX redirect” warnings.

Click this to see a list of all the redirected external links, plus the final destination URL.

SEEING A LOT OF PAGES?

Because nofollowed external links are often things like blog comments, you can remove these to give a cleaner list. Just add a “No. of inlinks dofollow > 0” filter to the report.

This should help to prioritize things.

Next, skim the report looking at the URL and Redirect URL columns. Look for redirects that don’t seem right. In other words, ignore things like HTTP to HTTPS redirects, and blog.domain.com/page to domain.com/blog/page redirects. Look for redirects to different sites or pages.

Here’s an example I found when crawling Backlinko:

The issue here isn’t so much that the redirect points to another website. Those who are familiar with Neil Patel will know that he merged blog.kissmetrics.com with neilpatel.com earlier this year.

No, the issue is that the redirected page is a completely different article.

Original article title: Using the Magic of Qualitative Data to Increase SaaS Conversions

Redirected article title: How Understanding Your Customer Will Help You Create Copy That Sells

In these cases, it’s best to remove the internal link(s) to the redirected page.

To do this, just hit the number in the “No. of inlinks” column to see every page with internal links to the redirected page.

Go into your CMS and remove them.

How to use 301 redirects to boost your organic traffic

By this stage, your website should be free of any SEO-hindering issues related to 301 redirects.

Now it’s time to get serious and talk about how we can use the power of redirects to massively boost organic traffic.

Here are two methods for doing that.

The Cocktail Technique

You have a glass of Coke. Mmm. You have a glass of rum. Tasty!

Both of those are great drinks in their own right. Combine them, however, and you take things to another level. Hello, Cuba Libre!

So how does this relate to 301 redirects?

Think of both these drinks as topically-related pages on your website. They’re each performing okay. They have a few decent backlinks. They get some organic traffic. Not too bad at all. But why not merge and consolidate those two pages into one to make something even better?

In doing so, chances are that we could transform two average-performing pages into one delicious cocktail of a page that performs way better!

We recently did this with two of our posts on the Ahrefs blog:

  1. ahrefs.com/blog/skyscraper-technique/
  2. ahrefs.com/blog/skyscraper-technique-fail/

Both these articles were getting old, so we decided to merge them into one new guide.

We then republished at ahrefs.com/blog/skyscraper-technique/ and redirected the other article to that.

The results speak for themselves:

So why does this work?

Two reasons:

  1. Consolidation of “authority”: Remember how 301 redirects no longer “leak” PageRank? By redirecting one of these articles to the other, we were able to merge the “authority” of both pages into one. Of course, this doesn’t work if the pages are unrelated because Google treats such redirects as soft 404’s. But because these two pages are similar, this worked a treat.
  2. Better content: Both of the articles we had were of decent quality. They were just starting to get a little outdated. By taking the best of both posts and merging them, we created a substantially better piece of content that, in our eyes, deserves more traffic.

Now, the only question that remains is how to replicate this strategy, right?

Here’s the process.

Step 1. Look for keyword cannibalization issues (with backlinks)

Keyword cannibalization is when two or more pages target and rank for the same keyword(s). Finding such issues is a good way to identify opportunities.

So, first things first, make a copy of this Google Sheet.

Next, paste your site into Ahrefs’ Site Explorer, head to the Top Pages report, and export it to CSV.

Import the CSV into the first tab of the Google Sheet.

To do that, Go to File > Import… > Upload > Select the CSV > Choose “Append to current sheet” when asked

That’s it. Go to the “Results” tab and you should have some refined results.

Step 2. Find relevant opportunities

Next up, you need to eyeball the results sheet for potential redirection opportunities.

Here’s a good example from the Hubspot blog:

These two pages rank in positions #5 and #6 respectively for “user generated content.”

Both of them:

  1. Are topically very similar
  2. Have plenty of backlinks from unique websites (467 referring domains combined!)
  3. Get a bit of organic traffic

So let’s take a look at top-ranking pages for “user generated content” in Ahrefs’ Keywords Explorer:

Two things stand out about the current top-ranking page:

  1. It gets almost 2x the traffic of the two posts from Hubspot combined!
  2. It has links 192 referring domains… less than half of the 467 referring domains to Hubspot’s two posts

So if Hubspot were to merge these two posts into one, and consolidate all that delicious “link juice,” then I’d say they’d have a good chance at claiming the number one spot. This could potentially 2x their traffic!

Step 3. Rewrite and merge the pages

Now it’s time to take the best things about each page and combine them into one.

For example, if we were doing this for the aforementioned Hubspot articles, we’d probably keep the section about “How to Run Your Own User Generated Content Campaign” from one post:

… and keep the part explaining “Why User-Generated Content?” from the other:

To keep the relevance of the new page as high as possible, and mitigate the risk that Google will treat our 301 as a soft 404, we could also check the Anchors report in Site Explorer for each page:

This gives some insight into why people linked to the pages in the first place.

For example, I can see that a fair few people are quoting statistics when linking to this page, so it may be worth keeping those stats in our revamped post.

PRO TIP

You should also take the rewriting/merging of two pages as an opportunity to better serve search intent and give searchers what they’re looking for. If there are a lot of top 10 lists ranking for the target keyword, make your new revamped post a top 10 list. If there are a lot of how-to guides, well… you get the idea!

NOTE. That has nothing to do with 301 redirects, but it’s worth doing if you want to maximize the ROI of your efforts.

Step 4. Publish your revamped page and implement the 301 redirect(s)

Now it’s finally time to publish your revamped post/page.

If either of the old URLs is a good match for your new post, then feel free to republish at the same URL. You can then delete the other post/page and add a 301 redirect to the new post.

You may recall that’s what we did with our skyscraper technique post. We reused the /skyscraper-technique/ URL.

If neither of the old URLs is a good match for your new post/page, then it’s also perfectly fine to 301 redirect both pages to a totally new URL.

For example, if we were to merge those two Hubspot posts into this guide:

… then neither of the two old URLs would really fit the bill.

It would be better to publish at something like blog.hubspot.com/marketing/user-generated-content/

So, we could do that, then 301 redirect the other two pages to that URL. Simple.

TIP

Looking to take this idea even further? Do a content audit to find pages with no organic traffic or rankings that still have backlinks.

If these pages aren’t important to your business, delete and redirect them to a relevant page that does matter.

The Merger Method

Here’s what happened to one site’s organic traffic after using the merger method:

That’s a ~116% traffic increase in 12 months!

Here’s the process in a nutshell:

  1. Buy another business or website in your industry.
  2. Merge their site with yours using 301 redirects.

Backlinko’s Brian Dean did this last year. He bought another SEO blog—Point Blank SEO—and redirected it to Backlinko. In fact, it was he who used this method to achieve the results you see in the screenshot above.

But before you start buying every website you can get your hands on, understand this:

Having success with this method isn’t as simple as just buying any old website and using 301s to redirect all pages to your homepage. That’s the lazy approach, and in 2019, it’s not a good idea. You also need to implement 301 redirects on a page-by-page basis.

Here’s how to do it, step-by-step:

1. Re-home and redirect content

The biggest traffic gains are likely to come from re-homing and redirecting content.

Brian Dean did this with some of the posts on pointblankseo.com, including Jon’s infamous list of link building strategies.

You know, the one with this backlink profile:

This original URL was: pointblankseo.com/link-building-strategies

The new (redirected) URL is: backlinko.com/link-building-strategies

Because Brian moved the post from the old domain to the new with a 301 redirect, all of those links now effectively point to that same page on backlinko.com instead. The page has effectively just moved to a new home.

The re-homing and redirecting of content is the best option when all of these apply:

  • The content has organic traffic
  • The topic is relevant to your business
  • The content is high-quality

Note that you can combat that final point but updating or rewriting the content after moving and redirecting it. Brian did this with that list of link building strategies, which hadn’t been updated since around 2012.

2. Delete and redirect to a different page

There’s no point keeping or re-homing pages that:

  • Have little or no organic traffic potential.
  • Are duplicates of topics you’ve already covered

For example, there’s no point keeping the about us page from the website you’re merging because then you’ll have two about us pages… which makes no sense. This is also true of other pages which target the same keywords as existing pages on your website.

Re-homing these will just lead to keyword cannibalization issues.

Similarly, if pages have little or no traffic potential, then you may as well get rid of them and redirect elsewhere. This is what Brian did with quite a few posts on pointblankseo.com, such as this post about outreach platforms:

That post no longer exists. Brian redirected it to his blog post about link building tools.

This original URL was: pointblankseo.com/outreach-platforms

The new (redirected) URL is: backlinko.com/link-building-tools

He did this because the keyword “outreach platforms” has no search volume and no traffic potential. It’s not a topic worth targeting.

So it made more sense to redirect this post to another relevant post with traffic potential.

3. Delete and redirect to your homepage

If there’s nowhere relevant to redirect pages, and it doesn’t make sense to move and re-home them, then the last resort is to redirect them to your homepage.

Brian did this with most of the pages on pointblankseo.com, such as this ego-bait guide:

This original URL was: pointblankseo.com/egobait-guide

The new (redirected) URL is: backlinko.com/blog

Why is this a last resort? Well, remember what we covered earlier about Google treating irrelevant 301 redirects as soft 404’s. This may happen when redirecting posts and pages to your homepage.

But here’s the thing: if you don’t redirect these pages, then there’s a 100% chance of Google treating them as soft 404’s. Conclusion: you may as well redirect them.

There’s one caveat to this, however, which is that you shouldn’t redirect pages with low-quality backlinks. Doing this is likely to cause more harm than good, so make sure to check the Backlinks report in Site Explorer for each page before redirecting.

If the backlink profile looks like this…

… then it’s probably best to just delete that page and leave it as a 404.

Or, if you really feel the need to redirect the page, then you could disavow the bad links before doing so. However, this is likely more effort than it’s worth.


Mark Crutch

At the age of 12 Mark purchase, an old at the time TRS-80 loving known as (Trash-80). They would spend many knights programming stick figures to move on the screen.