Why Broken Link Checker Shows False 404 Errors and How to Fix Them
Content
If you've ever received a notification from the Broken Link Checker plugin about a 404 error, only to find the link works perfectly in your browser, you're not alone. This is a common and often confusing issue reported by many users. This guide will explain why it happens and walk you through the most effective troubleshooting steps.
Why Does This Happen?
The core function of Broken Link Checker is to simulate a web request to each link on your site and interpret the response. A "404 Not Found" error in the plugin's report doesn't always mean a real visitor would see the same error. The discrepancy can occur for several reasons:
- Complex Redirects: Some links, particularly affiliate or tracking URLs (like those from AliExpress), go through multiple redirects before landing on the final page. The plugin's checking engine might interpret one of these interim steps as a final 404 error, even though the ultimate destination is valid.
- Server or Firewall Blocks: The target website might be blocking automated connection attempts from the plugin, interpreting them as a potential security threat. This can result in a "503 Service Unavailable," "Server not found," or a generic "Unknown Error" instead of a successful connection.
- Local 404s: For links pointing to your own site, the plugin might receive a "200 OK" status from your server (meaning the page loaded) even if the content is a 404 error page. This depends on how your server and theme are configured.
- Cached Data: The plugin might be checking a cached version of your site or its own cached results, showing outdated information.
How to Troubleshoot and Fix False 404 Reports
Follow these steps to identify and resolve the issue.
Step 1: Manually Verify the Link
First, double-check the reported link yourself. Open a new incognito or private browser window and paste the URL directly into the address bar. Observe what happens. If the link works fine, you are likely dealing with a false positive.
Step 2: Force a Recheck and Clear Cache
Before diving into complex solutions, try a simple reset. Navigate to WordPress Dashboard > Settings > Link Checker > Advanced. Click the "Forced recheck" button. This will clear the plugin's cache and rescan all links from scratch, which often resolves temporary glitches.
Step 3: Adjust Link Checker Settings (For Redirects)
If the problematic links involve complex redirects, you may need to adjust how the plugin handles them. Go to Settings > Link Checker > Which Links To Check. Ensure that the option to check redirected links is enabled. You can also try adjusting the "Timeout" and "Check link status" settings to be more lenient.
Step 4: Check for Conflicts
A theme or plugin conflict can sometimes interfere with the link checking process. To test for this:
- Temporarily switch to a default WordPress theme like Twenty Twenty-Four.
- Deactivate all other plugins except for Broken Link Checker.
- Run another forced recheck on the specific links.
- If the problem disappears, reactivate your themes and plugins one by one, checking after each, to identify the culprit.
Step 5: Review Server and Firewall Logs
If you are technically inclined, check your server's error logs and firewall settings around the time a scan occurs. The Broken Link Checker team has noted that some external services block their automated scans. If you see connection timeouts or blocks from the plugin's IP addresses, this confirms the issue is on the target server's side, not yours. In this case, you may need to manually mark these links as "Not broken" or dismiss the alert.
When All Else Fails
If a link is consistently reported as broken but works perfectly for real users, the most practical solution is to simply tell the plugin to ignore it. In the Broken Link Checker list, you can use the "Not broken" or "Dismiss" action for that specific link to prevent further false alerts.
By understanding the common causes and working through these steps, you can significantly reduce false 404 errors and make the Broken Link Checker plugin a more reliable tool for maintaining your website.
Related Support Threads Support
-
403 errorhttps://wordpress.org/support/topic/403-error-72/
-
Issues on staging websitehttps://wordpress.org/support/topic/issues-on-staging-website/
-
Error 404 page not found trying access wp-admin/tools.php?page=view-broken-linkshttps://wordpress.org/support/topic/error-404-page-not-found-trying-access-wp-admin-tools-phppageview-broken-links/
-
Divi multi-view links are not resolved correctlyhttps://wordpress.org/support/topic/divi-multi-view-links-are-not-resolved-correctly/
-
Strange broken links alerts but I can’t find these links on the pageshttps://wordpress.org/support/topic/strange-broken-links-alerts-i-can-find-this-links-in-pages/
-
I deleted plugin but Broken Link Checker Local Engine continues to scan sitehttps://wordpress.org/support/topic/i-deleted-plugin-but-broken-link-checker-local-engine-continues-to-scan-site/
-
Browser / Website hang after short whilehttps://wordpress.org/support/topic/browser-website-hang-after-short-while/
-
Mulitple 500 server error messageshttps://wordpress.org/support/topic/mulitple-500-server-error-messages/
-
Woocommercehttps://wordpress.org/support/topic/woocommerce-534/
-
Important problem with pluginhttps://wordpress.org/support/topic/important-problem-with-plugin/
-
wrong URL auto changehttps://wordpress.org/support/topic/wrong-url-auto-change/
-
Plugin Causing Error 500https://wordpress.org/support/topic/plugin-causing-error-500/
-
Unknown error on all linkshttps://wordpress.org/support/topic/unknown-error-on-all-links/
-
Migrated to Https and now it’s not workinghttps://wordpress.org/support/topic/migrated-to-https-and-now-its-not-working/
-
Redirect link turn to Not Foundhttps://wordpress.org/support/topic/redirect-link-turn-to-not-found/
-
Problem with my Sitehttps://wordpress.org/support/topic/problem-with-my-site-4/
-
Cookies absenthttps://wordpress.org/support/topic/cookies-absent/
-
Edit URL doesn’t seem to workhttps://wordpress.org/support/topic/edit-url-doesnt-seem-to-work/
-
Unknown user wrongfully claimed my side through WPMUDEVhttps://wordpress.org/support/topic/unknown-user-wrongfully-claimed-my-side-through-wpmudev/
-
Move to trash invalid links and homepage messedhttps://wordpress.org/support/topic/move-to-trash-invalid-links-and-homepage-messed/
-
does not work in wpbakery and revolution sliderhttps://wordpress.org/support/topic/does-not-work-in-wpbakery-and-revolution-slider/
-
Many problems with filterhttps://wordpress.org/support/topic/many-problems-with-filter/
-
This plugin cannot detect any links for my sitehttps://wordpress.org/support/topic/this-plugin-cannot-detect-any-links-for-my-site/
-
The site works but the extension tells me that nohttps://wordpress.org/support/topic/the-site-works-but-the-extension-tells-me-that-no/
-
Github Repo not Availablehttps://wordpress.org/support/topic/github-repo-not-available/
-
Links showin line throughhttps://wordpress.org/support/topic/links-showin-line-through/
-
Strange Added codehttps://wordpress.org/support/topic/strange-added-code/
-
Problems with this pluginhttps://wordpress.org/support/topic/issues-with-this-plugin-help/
-
Edited Broken Link on Cloud But Nothing Happenshttps://wordpress.org/support/topic/edited-broken-link-on-cloud-but-nothing-happens/
-
Link changementhttps://wordpress.org/support/topic/link-changement/
-
Plugin does not identify 404 errorshttps://wordpress.org/support/topic/plugin-does-not-identify-404-errors/
-
403 error seems wronghttps://wordpress.org/support/topic/403-error-seems-wrong/
-
Issues Finding Urls?https://wordpress.org/support/topic/issues-finding-urls/
-
Dimissed urls disappearhttps://wordpress.org/support/topic/dimissed-urls-disappear/
-
Exclude /images/wpspin_light.gifhttps://wordpress.org/support/topic/exclude-images-wpspin_light-gif/
-
ghost URLs foundedhttps://wordpress.org/support/topic/ghost-urls-founded/
-
I deleted the linkshttps://wordpress.org/support/topic/i-deleted-the-links/
-
Not working with TablePresshttps://wordpress.org/support/topic/not-working-with-tablepress-2/
-
broken links: error “404 Not Found”https://wordpress.org/support/topic/broken-links-error-404-not-found/
-
Problem with delete posthttps://wordpress.org/support/topic/problem-with-delete-post/
-
User protected pages are 404 Not Foundhttps://wordpress.org/support/topic/user-protected-pages-are-404-broken-links/
-
404 Header status for custom 404 pagehttps://wordpress.org/support/topic/404-header-for-custom-404-page/
-
Page Builder problemhttps://wordpress.org/support/topic/page-builder-problem-3/
-
Broken link fixer deleted my pages!!https://wordpress.org/support/topic/broken-link-fixer-deleted-my-pages/
-
Is it OK to deactivate this plugin?https://wordpress.org/support/topic/is-it-ok-to-deactivate-this-plugin/
-
Bulk update links not working on custom post typehttps://wordpress.org/support/topic/bulk-update-links-not-working-on-custom-post-type/
-
Redirects to 404https://wordpress.org/support/topic/redirects-to-404-3/