Looks like youve followed a broken link or entered a url that doesnt exist on this site.

Everyone agrees that broken links are bad for user experience. But did you know that broken links can significantly hurt your WordPress SEO rankings?

Yes, it’s proven that having broken internal links on your website negatively impacts SEO rankings.

In this article, we will show you how to easily find and fix broken links in WordPress so that you can improve your user experience and SEO rankings.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

What is a Broken Link?

A broken link, also known as a dead link, is a link that no longer works.

Broken links can happen for many reasons, but the most common reason is when a page is either deleted or moved to a different location which causes the server to show a 404 not found error.

On WordPress sites, broken links typically occur when moving a site to a new domain name, or when deleting a post or page without proper redirection.

Sometimes broken links can also happen due to a typo, and they can go unnoticed for months if not years.

This is why it’s extremely important to regularly monitor broken links on your site and fix them, so you can keep them from hurting your SEO rankings.

In this guide, we will share the top five methods to find broken links in WordPress. After that, we will show you an easy way to fix those broken links.

Here’s a table of content for easy navigation:

  • Finding Broken Links using SEMRush
  • Finding Broken Links using Ahrefs
  • Finding Broken Links using MonsterInsights
  • Finding Broken Links using Google Search Console
  • Finding Broken Links using Broken Link Checker Plugin
  • How to Fix Broken Links in WordPress

Ready? Let’s get started.

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, just keep reading.

Method 1. Finding Broken Links using SEMRush

SEMRush is one of the best SEO tool on the market. It allows you to easily monitor your website’s SEO rankings and overall health.

It also includes a powerful site audit tool that crawls your website to find common errors and prepare a detailed report for you.

First, you’ll need to sign up for a SEMRush account.

It is a paid service, but they offer a limited free account that allows you to crawl up to 100 pages on one domain name. Paid plan limits start from 100,000 pages a month.

Once you are logged in, you need to click on the ‘Site Audit’ link from the left menu.

This will bring you to the Site Audit page. From here, click on the ‘New Site Audit’ button at the top to add your website.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

You will be asked to enter your domain name. After that, you will be asked to configure site audit settings. You can select the number of pages to crawl and choose a crawl source.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

Click on the start crawling button to continue.

SEMRush will now begin crawling your website for the site audit. This may take a few minutes depending on how many pages you selected for the crawl.

Once finished, you can click on your domain Under the Site Audit section to view your report.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

To see the broken links on your site, you will need to click on the ‘Broken’ link under the report overview.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

You can now click on the Export button at the top right corner of the screen to download your crawl report. You will need it when fixing broken links on your website (more on this later in the article).

Method 2. Finding Broken Links using Ahrefs

Ahrefs is an excellent all-in-one SEO tool for marketers, businesses, and SEO professionals. It offers detailed SEO insights into your own website or any of your competitors.

You can use it for keyword research, competition analysis, organic and paid keyword ideas, and site health monitoring including broken links.

First, you’ll need to sign up for an Ahrefs account. It is a paid service with plans starting from $99 per month. They also offer a full featured 7 day trial for $7.

Once you are logged into your Ahref’s dashboard, you need to enter your domain name under the Site Explorer tool.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

The site explorer tool will now crawl your website to prepare reports. This may take some time, depending on how much content you have on your website.

Once finished, you’ll see an overview of your site explorer results. From here, you need to click on the Pages » Best by Links menu and then sort your report by 404 status.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

You can now export your report in CSV format to fix the broken links on your WordPress site.

Method 3. Finding Broken Links using MonsterInsights

MonsterInsights is the best Analytics solution for WordPress. It automatically tracks broken links or 404 errors on your website in Google Analytics.

Using the plugin, you can set up Google Analytics without editing code. It also lets you set up link and button click tracking, eCommerce tracking, form conversion tracking, author tracking, and more.

To start, you’ll need to signup for a Google Analytics account and connect it with your WordPress website using MonsterInsights. For more details, you can follow our detailed guide on how to install Google Analytics in WordPress.

Note: MonsterInsights is a premium WordPress plugin, but we’ll be using the free version for this tutorial. However, you can upgrade to its Pro version for advanced tracking features, dashboard reports, popular posts feature, and more.

Once MonsterInsights is active on your website, the plugin will start to track broken links and show you a report in Google Analytics. However, it might take up to 24 hours before you see any data in Google Analytics.

To view the report, just log in to your Google Analytics account. After that, you can go to Behavior » Site Content and click on the ‘Content Drilldown’ report.

Next, you can enter ‘404.html’ in the search bar, and Google Analytics will show broken links on your website.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

Method 4. Finding Broken Links in WordPress using Google Search Console

Google Search Console is a free tool offered by Google to help webmasters manage their site’s visibility in search results. It also notifies you about errors, including 404 errors that are caused by a broken link.

For more details, see our ultimate Google Search Console guide with step by step set up instructions.

After you have logged in to your Google Search Console account, click on the ‘Coverage’ link from the left menu.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

You’ll find 404 errors either under Errors or Excluded tabs. Clicking on them will show you a list of errors or issues Google encountered while visiting your website.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

Clicking on the 404 error will show you all the links on your website that are broken links and return a 404 error.

You can now click on the download button to get the list of all 404 errors on your website. You’ll need this to fix broken links on your website.

Method 5. Finding Broken Links in WordPress using Broken Link Checker

For this method, we’ll be using the Broken Link Checker plugin. However, this method is not recommended because it is resource-intensive and will slow down your website. Managed WordPress hosting companies like WP Engine already block users from installing this plugin on their servers.

The plugin checks for broken links on your website, including internal and external links resulting in a 404 error.

First, you’ll need to install and activate the Broken Link Checker plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, the plugin will start working in the background to find links in your posts, pages, and comments. You can now go to Tools » Broken Links page to view the full report.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

If you have been running your WordPress blog for a long time, then this report will include broken links to third-party websites as well.

You will have to manually sort the list to find broken links on your website.

You will need to keep Broken Link Checker active on your website until you fix broken links. After that, you can deactivate the plugin because it will keep checking for broken links, which will slow down your server.

How to Properly Fix Broken Links in WordPress

We have shown you five different methods to find broken links in WordPress. Now let’s talk about how to easily fix broken links in WordPress.

The best way to fix a broken link is to redirect it to another page. For example, if you moved the contents of an article to a different address, then you will need to redirect it to the newer article.

Similarly, if an article does not exist anymore, then you would want to point users to a similar page that is closely related to the contents of the old article.

You can do this by setting up 301 redirects.

The easiest way to fix broken links and set up redirection is by using the All in One SEO (AIOSEO) plugin for WordPress. It offers a powerful redirection manager that helps you track 404 error pages and create 301 redirects.

Note: We’ll be using the AIOSEO Pro version because it includes the redirection manager addon and offers multiple types of redirections.

First, you will need to install and activate the AIOSEO Pro plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit All in One SEO » Redirects page and then click the ‘Activate Redirects’ button.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

Next, you’ll need to go to the ‘Settings’ tab under Redirects and enable 404 logs. You can find the option in the ‘Logs’ section.

AIOSEO will also let you set the time period to record your 404 logs using the dropdown menu. We suggest that you select no longer than one month for smooth and optimal performance.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

After that, go ahead and click the ‘Save Changes’ button.

You will now see a ‘404 Logs’ tab appear in the Redirects section in AIOSEO. Go ahead and click on the tab.

When you first enable the 404 logs option, there will be no data on this page. The plugin will only start to monitor and record 404 pages after enabling the settings.

However, once it’s active, AIOSEO will show a list of broken links on your website under the ‘URL’ column. It will also show you how many people visited the link under the ‘Hits’ column and the last accessed date.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

You can now click the ‘Add Redirect’ button for any broken link you want to fix. When you click the button, you’ll see redirection options for your 404 error URL.

Simply enter the Target URL to which you’d like to redirect your visitors, select 301 Moved Permanently as the redirection type from the dropdown menu, and click the ‘Add Redirect’ button.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

You can now test this by visiting the old broken link, and you’ll be redirected to the new page.

Repeat the process for all broken links on your website.

For more information, see our guide on how to set up redirects in WordPress for beginners.

We hope this article helped you learn how to easily find and fix broken links in WordPress. You may also want to see our actionable tips on how to optimize your images for web, and our pick of the best WordPress membership plugins to create a membership site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

Looks like youve followed a broken link or entered a url that doesnt exist on this site.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. We have been creating WordPress tutorials since 2009, and WPBeginner has become the largest free WordPress resource site in the industry.

A broken link is a link on a website that no longer works because the website is experiencing one or more of the following issues: The destination web page has been moved or no longer exists. An invalid URL has been entered for the link by the web page owner. The linked web page exists but can't be accessed by a user.
Links may be broken for a variety of reasons, including the URL being mistyped, the webpage no longer being online, the page's URL having changed, or the linked page having restricted access (such as by being behind a password or firewall).

Why does Netlify show page not found?

Why won't my website show up on Netlify despite paying for domain and successful deployments? "Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site."

Why is my website not deploying on Netlify?

Typically this means that we don't have permission to clone the repository you are trying to deploy. The usual cause for this is that someone made some changes to settings for the parent organization, or repository, some time after linking the repository to your site.