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 you can improve your user experience and SEO rankings.
What is a Broken Link?
A broken link, also known as 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 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 top four 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 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
If you don’t like the video or need more instructions, then continue 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 do offer a limited free account which 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.
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.
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.
To see the broken links on your site, you will need to click on the ‘Broken’ link under the report overview.
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.
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.
You can now export your report in CSV format to fix the broken links on your WordPress site.
Method 3. 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 which 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.
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.
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 4. 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 both internal and external links that are 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.
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 four 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.
First, you will need to install and activate the Redirection plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit Tools » Redirection page to set up redirects. You need to add the old broken link in the ‘Source URL’ field and the new URL in the ‘Target URL’ field.
After that, click on the ‘Add redirect’ button to save your changes.
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.
I am using broken link check WordPress plugin. Is it possible to check broken link for custom buttons?
Please help me.
It should check those links as well
This article was super helpful in solving 404 errors on our website as we switched from joomla to wordpress, thank you so much, now our website is doing great.
Glad our guide was helpful
Thanks for the great stuff on link broken. The article were amazing. It not just only shows to find the broken link but the way you give the solution for the problem is always the best part.
You’re welcome, glad you’ve found our content helpful
This is what i’m looking for! i have 301 redirecy plugin in my website but i have no idea how to use it properly.
thank you so much for this useful tutorial.
You’re welcome, glad our tutorial could be helpful
Thanks for sharing this blog. Your blog is very informative regarding broken websites. The points you shared, are very useful for broken website repair services. It is important that everyone must follow some good tips for their broken website.
Thank you, glad our content could be helpful
I installed this plug in and it says no broken links detected. I cannot imagine that is accurate because the site is big and definitely has some broken links. Do I need to reconfigure something to get it to run accurately?
Thank you for this great post !
Do you know how to bulk export broken links with this plug-in ?
Or maybe, if you have one in stock, even a MySQL request could be used to export them within phpmyadmin.
Cheers
Can Yoast Seo handle the same function of the broken link checker?
No it doesn’t.
Well, I have just read that Yoast SEO has this function, too. It detects and corrects broken links, even directly from Google Console, if wanted, and with a easy button in tool bar, but only Premium version. So have to pay for it.
I am wondering, if I can keep trusting you guys, seeing that you don’t answer to all questions here, and also how can you review a plugin when it is not updated for over a year???
In WP > install New Plugin > the thumbnail is even missing of this plugin.
Wow.
Thank you for your feedback, we are working on improving our answers to comments. For clarification, this article was updated in August, we will certainly look into updating articles such as this one as we find they need updates so thank you for letting us know that we should look into this article.
One question: The best solution is unlinking or dismiss broken links?
I’m pretty sure I already know the answer but I’ll ask anyway: This is just for self-hosted sites on WordPress.org, not WordPress.com, correct? Is there ANY way to check broken links on a WordPress.com blog? I am in the process of converting from Blogger and I have over 700 blog posts that ALL have internal links. In other words, a big pain. I suppose I’ll eventually have to manually fix them in any case, but seeing the broken links would give me a priority of which ones to fix first.
Hi Sine Thieme,
Yes, this is for WordPress.org websites. We will suggest that you export your blog posts in XML format using the built in WordPress.com export tool. After that you can use an advanced text editor like Notepad++ or TextWrangler (for Mac), use simple search and replace tool in the editor to replace old blogger URLs with your WordPress.com URLs.
After I activate that plugin I got error.
The plugin generated 1690 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Hi-
I use Link Cloaker and it seems that Broken Link Checker is not picking up the links that are not good because those bad links are directed to my homepage. I don’t want those links to be directed to my homepage. I want them to come up as broken so I can fix them.
How can this be fixed?
Thanks
How can fix incoming broken back-links?
You can fix that by performing a 301 redirection.
So whenever such a link is access from another site, your site simply redirects the person to a new URL.
A plugin for this is redirection WordPress plugin
Hope that helps.
I have tried this solution, but didnt work for me my website is thank you.
Did you get an error?
I was really able to solve my broken links through this article. Thanks to the author.
Thanks! I’m running Broken Link Checker now to fix dozens of broken links on my site. My google organic search traffic plummeted this year after moving to a new domain…and wasn’t sure why. I think broken links is the reason (just realizing a lot of my old posts are busted).
Has anyone had direct experience with improved google ranking SEO after fixing broken links? What was the before/after result?
I’ve been using broken link checker for a while at this domain. After fixing them, seems fairly frequently, I need to do so again, say a few weeks after fixing a bunch.
I do not recommend this plugin. It is a serious CPU hog that will slow down your site and possibly use up your CPU allocation. A number of host providers have banned it. If you want to check your links you are better off running an app from your computer to check run an external check.
Yes it does and it is not recommended to use it too often.
Just wondering if the plugin have some effect with the speed of the site.
Does the plugin will slow the site?
Very helpful advice, thank you. Now I know what to do with my broken links. Cheers!
Thanks For Sharing this Great Plugins
I found 34 broken links in my blog..Thanks for sharing this article , it has been useful for me
Is there any plugin available for the Blogger site??
None that we’re aware of.
Broken Link Checker has been very handy for me – but what is that Green Tab (shown in this post’s last screenshot and is there any way to hide it?
This is extremely confusing for clients and I find it even worse than sidebar ads.
Any ideas on how to manage this? Thanks!
Unfortunately, no way to get rid of it without editing the plugin (at least that is our understanding). You can always contact the plugin author and make a suggestion.
What do you do if it tells you that some links are broken but they are not? I went to the pages and double checked the link and it works fine.
Sounds useful, i wish it was around a year ago…
Used BLC in the past. It’s good to use from time to time, but creates a lot of bloat in your database. That’s probably because of my massive post archive.
STUN, did the same on my site…over 6,000 posts. However after running the WP-Optimize plugin, the database was nice and clean again.
This will improve my work, a lot.
I use wpengine.. This is what they have to say about:
“There’s another class of plugins that we disallow simply because they cause a high load on our servers or create an unnatural number of MySQL queries.
Broken Link Checker — Overwhelms even our robust caching layer with an inordinate amount of HTTP requests.”
On their hosting service it is a disallowed plugn!
“wpengine” reccommends:
To track traffic in a more scalable manner, both the stats module in Automattic’s Jetpack plugin and Google Analytics work wonderfully.
Yes Same here. I have VPS with 1.5GB RAM. This plugin slowdown my blog.
You’re not suppose to keep the plugin on. Use it during your spring clean up (like every 6 months). Turn it on. Check if everything is good, and then delete it.
I use Broken Link Checker and it is very useful. But why would you disable the plugin after using it the first time? I receive notifications every few days that the plugin has found a couple of more broken links. Usually, because when an a site I linked to has shut down, or the link has become corrupted or a blogger removed a post, — any number of reasons. It is not helpful for SEO — or to your visitors — when they click on a bad click. I believe Broken Link Checker should be active all the time.
Really realistic and useful.
Thank you for letting us know about this great plugin! Started to use it on some website right away.
I don’t understand why I should disable the plugin after initial use and wait 6 months to run it manually again. It appears to me that I can leave it Active, and it will check the links automatically every so many hours and send me a mail if it has found a broken link. Much better, isn’t it?
Thanks in advance for your opinion on this.
It is but running a script so many times particularly the one that keeps checking all your posts can be resource incentive on your website.
I want to finish seeting up my .org site first, but as I’m moving from .com this will be a great tool! Thank you!
I installed the Broken Link Checker plugin a few months ago and immediately following the installation my site crashed. I would love to have it but I am afraid to install it again.
I had the same problem, I had to delete the plugin by FTP, because the rest of my screen was whit and it was nog possible to active or deactive it.
Sad, because in my other site it worked well, both site are on the same server.
You can temporarily switch to a default WordPress theme like twenty twelve and then activate the plugin. If it works you can then check for broken links, fix them, and then revert back to your own theme.