find-broken-links

A Step by Step Guide to Find and Fix Broken Links

Broken links are dead links on a website. These are, in fact, internal links that point towards 404

Broken links are dead links on a website. These are, in fact, internal links that point towards 404 pages.

Although broken links do not directly impact a site’s ranking in search results but they can hurt the visitors badly and can cause a negative experience for them. Imagine a user landed on your website after a lot of study and found nothing on the webpage?

Let me clear this point too that How broken links can indirectly impact your website ranking? We know that links transfer page worth to linked webpages. So, if links are pointing towards 404 pages; this means that we have a power leakage and that power can be used for live webpages.

This is clear that you should be very vigilant in handling broken links on your website. Now question is how to keep an eye on finding broken links?

Find Broken Links on Your Website

This can be real headache to find broken links on big websites with thousands of webpages. In some cases this can be impossible as well and can take days/months if we do it manually. So, we need a crawler to do the job.

For my post, I am using Webbee SEO Spider tool to find broken links.

[the_ad id=”6392″]

Step 1: Download the Web Crawler

Download and install Webbee (Website Crawler) on your system.

Step 2: Crawl your Website

There are two ways you can do the job.

  1. You want to crawl entire website?
  2. You have a list of URLs and want to check them only?

Crawl Entire Website

Crawl you website with it. To crawl open Webbee, put your URL in “Enter URL to Analyse” and hit “start”.

enter url to crawl

website crawler

Crawl List of URLs with Webbee

If you have a list of URLs to craw, follow the below steps.

  1. Save your all URLs in text file.
  2. Change the Webbee mode to “List” mode.

crawl urls

  1. Upload the list of URLs.upload urls
    select url file
  2. Start the crawler.

You can also download 404 pages on your system when the crawl is complete. There are two ways to export them.

  1. Using Left Navigation Filter (Recommended)
  2. Using “Response Codes” Tab

[the_ad id=”6396″]

Export 404 Pages Using Left Navigation Filter

You just need to click on “Not Found 4xx” option under Summary > Status Codes at left side.

find dead links

These are the pages with “404 Not Found” status code. Now press Export button to download them.

Export 404 Pages Using Response Code Tab

You can also download the report by navigating to “Response Code” tab.

url response code

This tab contains all the webpages with their status codes. And we need to apply filter to download what we need.

Use search feature to filter 404 Pages. How to do the job?

  • Select the column you want to apply filter on. In my case it is Response Code column as I want to filter 404 pages.
  • Write 404 in search bar.
  • Click the “Search” button. This will search and show all the 404 pages in the table.
  • Export them.

See the image below.

broken links

[the_ad id=”6394″]

And Now It is Time to Find Broken Links

If you have crawled the website and you are seeing 404 pages in crawl report, this clearly means that these 404 pages are internally linked. And those internal links are our broken links.

Webbee SEO Spider is fully customized and you can crawl all such reports with it. To download the broken links, follow the steps:

1.      Download Broken Links for Single Page

To download internal links; select the desired 404 page, right click on it and click on “Links Coming to Page”.

broken links

You will see a popup.

all broken links

Download the report on your system. That’s it..!

2.      Download Broken Links for All Webpages at Once

Downloading broken links one by one is hectic if you have tens of 404 pages. In such cases you need to export all the internal links and filter the broken links from them.

  1. Download this list on your system.internal links

You will see four columns in this downloaded report.

internal links report

[the_ad id=”6397″]

Source: This is the page giving links to other webpages.

Destination: This is the page getting links.

Anchor Text: This is the text used to internally link the Destination Page from Source Page.

Type: This is the link type, Follow or No-Follow.

Here, the destination URLs also contains 404 pages and we need to filter them.

Simply add Response codes against Destination URLs using “VLOOKUP” formula.

Add new column on the very next of the Destination Column with name “Response Code” and start typing the formula “=VLOOKUP(C3,[BrokenLinks.xlsx]Sheet1!$A$2:$B$9,2,)”

vlookup

**BrokenLinks is the sheet we downloaded right after the crawl. Remember?

404 pages

Now filter 404 status codes.

filter 404 pages

Finally you have prepared the list of broken links.

all dead links

Just an instance; https://eebew.com/smm/ is linked from 5 pages with Anchor Text “Home” as per the above image. Now we need to fix these broken links.

How to Fix Broken Links

Let’s learn how to fix the broken links and minimize the power leakage. This is very important point, so take a long breath.

And keep reading! 🙂

Following are the possible reasons that can generate dead links (404):

  • Spell mistake (typo) in URL during Internal Linking
  • You have changed your web page URL permanently and forget to change internal links
  • You removed page from your website (unintentionally or Intentionally)

[the_ad id=”6395″]

Fix?

If reason is spell mistake in URL, fix it.

If you have changed your web page URL, you need to take two actions.

  • Change all the internal links from old to new URL.
  • For better optimization, redirect the old URL to new URL. This redirect will also transfer the power of backlinks to old URL, if any.

And if your webpage was unintentionally removed, make it live again. In case if you don’t have old page content you can simply get it back from waybackmachine, only if you have not disallowed the wayback machine bot in your robots.txt.

  1. Go to WaybackMachine.
  2. Put old page URL on search bar and hit Browse History.

waybackmachine

It will result you history of your web page saved on different dates.

waybackmachine results

  1. Choose the latest one, like in my case 6th April is latest date when WayBackMachine take screenshot of my web page. Click on the date and it will show you the history of the page as follow:

waybackmachine screenshot

  1. Copy the page content and use it again to make your old webpage live.

And if you remove the web page intentionally, you need to take the following actions:

  • Remove the internal links against that page on your website.
  • Redirect the URL to some relevant webpage to utilize its power of backlinks, if any.

[the_ad id=”6398″]

Congratulation! You have learnt the way how to find the broken links and fix them. If you still have questions, ask them in comments. I will be happy to answer them.

Other Resources


About Asim Mughal

Asim is the co-founder and DOP at Webbee Inc. He is a digital marketing expert and works with business owners to help them increase their revenue through effective online marketing techniques. He has co-created Webbee SEO Spider Tool. He is also the contributor on top authority sites like: Entrepreneur, TNW, Mediapost, Semrush and Lifehack etc.

7 thoughts on “A Step by Step Guide to Find and Fix Broken Links

    1. AUTHOR
    1. AUTHOR
    1. AUTHOR

Leave a Comment