How to find and fix invalid WordPress link illustrations

Invalid links on your WordPress site are bad news for both your human visitors and your site’s SEO, so learning how to fix broken links in WordPress is an important part of running a successful WordPress site.

in this article, we will explain in depth why broken links are worth finding and correcting. Then we’ll show you six different ways to find and fix invalid links in WordPress without slowing down your site.

for several different reasons, broken links are bad for your WordPress site. First of all,

has an impact on your visitors. If someone clicks on a link, they do so because they are interested in what they are told the link will take them to. That makes sense, right?

, by sending them to broken links instead of the content you promised them, you are creating a frustrating experience for visitors, which in itself is a good motivation to find and fix broken links on your site.

, however, breaking the state of the link is not only bad for humans, but also bad for robots. Specifically, Google and other search engines use crawler robots.

first of all, links in an invalid state will waste your opportunity to grab content in Google. Every 404 page that Googlebot encounters due to link corruption is a real-time page that Google can crawl.

in addition, broken links are also a waste of linked assets. For example, if you break the internal link from one blog post to another, you cannot gain the SEO advantage from that internal link, which is bad for your SEO work.

is good, so broken links are bad for your WordPress site. Now is the time to answer the important question-how do you fix links to invalid states in WordPress?

in the next section, we will show you five ways to fix broken links in WordPress. You can click the following to jump directly to a specific section or read through all five methods:

  1. web-based SEO detection tool
  2. based on spider statistical analysis plug-in
  3. Google search console
  4. desktop software
  5. online broken link check tool
  6. The WordPress plug-in Broken Link Checker- we do not recommend this approach, but we will still include some disclaimers in the article,

1. Web-based SEO inspection tool

We recommend that the first way to find and repair failed state links in WordPress is to use the Web-based SEO detection tool. The two most popular are Ahrefs and SEMrush. They all include very powerful site detection tools where you can automatically scan your WordPress site for errors.

Ahrefs actually has several different places to find links in a broken state.

‘s first way to find invalid links in Ahrefs is to use their amazing site detection tool (which is a paid service). Just set up a new project, enter your WordPress site address, and have it scan your site. Depending on the size of your website, this may take about 20 minutes.

remember that if you are a user of the spider statistical analysis plug-in, make sure thatAhrefsBotis not added to the blocking list. After the

How to find and fix invalid WordPress link illustrations1

Ahrefs site Detection tool

scan is complete, click on the reports section and you will find a list of all 404 errors on your WordPress website. You can then view all the broken links on your site and the internal pages on which they appear. You should then update the invalid link with the correct link. Link corruption

How to find and fix invalid WordPress link illustrations2

in

you can also use Ahrefs site Explorer (which is also a paid service) to find broken links. Simply put your WordPress site URL in Ahrefs site Explorer, go to the “Backlink” report, and then click “Broken” to view the invalid status backlink of your site.

How to find and fix invalid WordPress link illustrations3

Ahrefs backlink profile-broken links

or, you can also go to the “Best by links” report and apply the “404 not found” filter to the “HTTP codes”.

fixes invalid backlinks internally on your WordPress site is a top priority. But don’t forget to break the outgoing link. This can also frustrate users when you link to corrupted content or resources on other people’s sites. High-quality outgoing links will also play a role in your SEO.

simply put your WordPress site URL in Ahrefs site Explorer, go to the Outgoing links report, and click Broken links. You can then view the article or page where the link is located and the invalid external link on the WordPress website.

How to find and fix invalid WordPress link illustrations4

Ahrefs disconnected outgoing link

2. Based on spider statistical analysis plug-in

if you are a user of spider statistical analysis plug-in, you can also find 404 invalid links on the site through the status of spider feedback.

Note that in this way, you should install the spider statistical analysis plug-in for a period of time before you can have more accurate data, and the data depends on search engine spiders to crawl logs.

click on the spider log under spider analysis, and then select the status code 404, time selection for all times, and finally click filter to view all 404 status spiders to access the link.

How to find and fix invalid WordPress link illustrations5

Spider Log 404 status crawl log

warm Tip: because some pseudo spiders or security scanning crawlers may crawl links that do not exist, so 404 spider logs may contain links that do not exist on your site, you can choose to ignore such links.

3. Google search console

Google Search Console is a useful tool provided by Google to help you “monitor, maintain and exclude your site from Google search results”. To get started, you need to use Google Search Console to validate your website. You can then begin to benefit from its features, including 404 status break link detection.

as part of its function, Google Search Console includes a crawl error report that allows you to view all pages that return 404 errors to Google:

How to find and fix invalid WordPress link illustrations6

Google Search Console crawl report

Click any of these links will open a pop-up window in which you can see which pages are linked to the 404 error page Thus, you can correct the 404 invalid links on these pages: the

How to find and fix invalid WordPress link illustrations7

crawl report allows you to view the page

4. 4 that links to the 404 page. Desktop software

in addition to web-based SEO detection tools, you can also use desktop software to find invalid links. The most popular option here for

is Screaming Frog, a well-known SEO tool that can be used to find 404 status links for free.

Screaming Frog is available for Windows, macOS, and Ubuntu. After

downloads and installs the program, here is how to use it to find broken links.

first, add your site’s URL to the top box, and then click Start:

How to find and fix invalid WordPress link illustrations8

to add your site’s URL to Screaming Frog

. Then, you can use the Response Codes option to filter out 404 pages, and then use the Inlinks function at the bottom to find links to these 404 pages: how

How to find and fix invalid WordPress link illustrations9

uses Screaming Frog to find 404 status links

if you are using Mac,Integrity is also another good desktop SEO tool You can use it to find broken links in WordPress.

5. Online broken link checking tool

if your website is not very large, you can use the free online broken link checking tool to find broken links. A good choice for

is to creatively name it BrokenLinkCheck.com, which allows you to check up to 3000 pages for free.

is also very easy to use-you just visit the website, enter your URL, and click find failed links:

How to find and fix invalid WordPress link illustrations10

adds your site’s URL to BrokenLinkCheck.com

, and then you can decide whether to report different broken links or all events-all events are more thorough, but may take more time:

How to find and fix invalid WordPress link illustrations11

chooses how to check for broken links

and then The tool lists all invalid internal and external links and provides links to pages that have failed links:

How to find and fix invalid WordPress link illustrations12

BrokenLinkCheck.com results

then all you need to do is enter and fix the problematic link.

6. WordPress plug-ins-Broken Link Checker

We do not recommend using WordPress plug-ins to check for invalid links, as they can be a serious drag on the performance of your site. From a performance perspective, it is best to offload these responsibilities to separate tools through any of the above methods.

if you absolutely must use the WordPress plug-in to check for invalid links such as status 404, please don’t keep it active and running. Instead, run the plug-in once, and then remove it from your site after repairing the broken link. But again– our advice is to use only one of the other tools and skip plug-ins. When

talks about breaking the link checker plug-in, the most popular option is the free Broken Link Checker plug-in on WordPress.org. Note: this plug-in is not updated for the time being, and it seems that the developer is trying to request a transfer of ownership. After

installs and activates the plug-in, go to the tool → Broken Links to view a report containing all broken internal and external links: the

How to find and fix invalid WordPress link illustrations13

Broken Link Checker plug-in interface

to quickly fix any broken links found by the tool, you can hover over the link and select Edit URL to edit the link Without having to open each individual page:

How to find and fix invalid WordPress link illustrations14

edits URL

WordPress sites are bad for the user experience and SEO, so you need to check for broken links regularly and fix them as much as possible.

We recommend an offsite solution for the most performance-friendly way to find invalid links in WordPress. A good choice is:

  • SEO detection tools like Ahrefs-if you have the ability to invest in such tools, this is our recommended approach. It is also a good choice for
  • to use the spider statistical analysis plug-in, although it contains some abnormal 404 status links.
  • Crawl error report in Google Search Console.
  • desktop SEO software, such as Screaming Frog.
  • is a web-based tool, such as BrokenLinkCheck.com

again, although WordPress plug-ins like Broken Link Checker can easily find broken links on WordPress, we do not recommend them because this approach may affect the performance of the site.

In addition, with regard to how to deal with website deadlinks, it is recommended that you also read how to deal with WordPress website status deadlinks.

Disclaimer: All articles on this website, unless otherwise specified or marked, are original and published on this website. Any individual or organization is prohibited from copying, stealing, collecting, or publishing the content of this site to any website, book, or other media platform without the consent of this site. If the content on this website infringes on the legitimate rights and interests of the original author, you can contact us for assistance.