How to Control Which Links Broken Link Checker Scans on Your WordPress Site
Content
Broken Link Checker is a powerful tool for maintaining site health, but many users need more granular control over which links are scanned. A common point of confusion is understanding how to include or exclude specific types of links from the checking process. This guide explains the available settings and workarounds for managing your link checks effectively.
Understanding the Core Function: What Gets Checked?
By default, the Broken Link Checker plugin scans links it finds in the post_content database table. This typically includes links within the content of:
- Published Posts
- Published Pages
- Custom Post Types
- Comments
Important Note: The plugin reads links directly from the database; it does not use a rendering engine to load pages. This means it will not accidentally click on ad links or execute JavaScript. However, this method also means it cannot check links generated dynamically by shortcodes or certain plugins.
Common Scenarios and How to Address Them
1. How to Exclude Internal Links or Specific Domains
If you only want to check external links, or if you need to stop checking links from a domain that consistently returns false errors (like LinkedIn), you can use the Exclusion List.
- Navigate to Settings > Link Checker.
- Click on the "Which Links To Check" tab.
- In the "Exclusion list" text box, add words or patterns found in the URLs you want to skip.
Example: To skip all internal links on example.com, you would add example.com to the list. The plugin uses pattern matching, so any URL containing that text will be excluded from checks.
2. How to Focus on Specific Post Statuses
You can control whether the plugin checks links in draft posts, published posts, or other statuses. The "Post statuses" setting under "Which Links To Check" applies to all post types you have selected in the "Look for links in" setting directly above it. This includes standard Posts, Pages, and any enabled Custom Post Types.
Current Limitations and User Workarounds
Based on community discussions, several highly-requested features are not currently available in the plugin. Understanding these limitations can help you manage expectations and find alternative solutions.
- No Per-Link Schedule: You cannot set different checking schedules (e.g., daily, weekly) for individual links. The schedule (found under Settings > Link Checker > General) applies to a full-site scan.
- No Widget or Excerpt Checking: The plugin does not currently scan links located inside sidebar widgets or post excerpts. The Broken Link Checker team has acknowledged this is a popular feature request but has not provided a release timeline.
- No Inclusion List: There is no direct "inclusion list" to force the checking of specific URLs that would otherwise be excluded by a pattern. For example, you cannot force it to check
example.com/go/ifexample.comis in the exclusion list. - Limited Instance Visibility: When a link appears on multiple pages, the plugin's interface combines them into a single entry. It does not easily show a list of all the source pages where the link was found, which can make fixing widespread broken links more tedious.
Conclusion
While Broken Link Checker offers robust control over which links are scanned through its exclusion lists and post status settings, users should be aware of its limitations regarding widgets, excerpts, and more granular control. For most users, strategically using the exclusion list is the most effective way to tailor the plugin's functionality to their specific needs.
Related Support Threads Support
-
link tradeshttps://wordpress.org/support/topic/link-trades/
-
Testing periodhttps://wordpress.org/support/topic/testing-period/
-
external links only?https://wordpress.org/support/topic/external-links-only/
-
Feature Request: URL Target Columnhttps://wordpress.org/support/topic/feature-request-url-target-column/
-
Works independent of clicks on the site?https://wordpress.org/support/topic/works-independent-of-clicks-on-the-site/
-
Enhancement request – Exceptions for the forced recheckhttps://wordpress.org/support/topic/enhancement-request-exceptions-for-the-forced-recheck/
-
How do you check the link?https://wordpress.org/support/topic/how-do-you-check-the-link/
-
List all external links for a specific post?https://wordpress.org/support/topic/list-all-external-links-for-a-specific-post/
-
Check Links by Page Statushttps://wordpress.org/support/topic/check-links-by-page-status/
-
Does it also check external links?https://wordpress.org/support/topic/does-it-also-check-external-links/
-
Force check of certain URLshttps://wordpress.org/support/topic/force-check-of-certain-urls/
-
Feature request: Show details for all instances when instance count > 1https://wordpress.org/support/topic/feature-request-show-details-for-all-instances-when-instance-count-1/
-
just links in sidebar widgets?https://wordpress.org/support/topic/just-links-in-sidebar-widgets-2/
-
link check for sidebar widgetshttps://wordpress.org/support/topic/link-check-for-sidebar-widgets/
-
How to skip links from certain domainshttps://wordpress.org/support/topic/how-to-skip-links-from-certain-domains/
-
Filter External Linkshttps://wordpress.org/support/topic/filter-external-links/
-
Identifying link controls.https://wordpress.org/support/topic/identifying-link-controls/
-
just links in sidebar widgets?https://wordpress.org/support/topic/just-links-in-sidebar-widgets/
-
Proposal: Check links as specific userhttps://wordpress.org/support/topic/proposal-check-links-as-specific-user/
-
Links with multiple instances, is it possible to see those instances?https://wordpress.org/support/topic/links-with-multiple-instances-is-it-possible-to-see-those-instances/
-
It’s only checking EXTERNAL links: how to check internal ones?https://wordpress.org/support/topic/its-only-checking-external-links-how-to-check-internal-ones/
-
checking links in the exerpthttps://wordpress.org/support/topic/checking-links-in-the-exerpt/
-
Support of widgetshttps://wordpress.org/support/topic/support-of-widgets/
-
Blue Dot icon in the link resulthttps://wordpress.org/support/topic/blue-dot-icon-in-the-link-result/