Description
TSO Link Inspector scans all published posts, pages and custom post types for links, then checks each one via HTTP to detect broken links, redirects, insecure HTTP URLs and connection errors. All results are displayed in a dashboard where you can fix links directly without opening the editor.
Key Features
- Scans posts, pages, and any custom post type.
- Detects HTTP errors: 404, 410, 500, DNS failures, SSL errors, timeouts, and redirects.
- Edit URLs inline directly from the admin panel, no need to open the editor.
- Smart URL Suggester: automatically tests HTTPS upgrade, follows redirect chains, and tries www/non-www variants.
- Unlink: removes the
<a>tag but keeps the visible text. - Bulk actions: re-check, unlink, mark as OK, or delete multiple links at once.
- Export CSV: export any filtered view to a spreadsheet.
- Per-article view: click any article to see all its links in one place.
- HTTP insecure detection: flags active links still using HTTP instead of HTTPS.
- Ignore list: add domains or URL prefixes to never scan or check.
- Scan images and iframes: optionally detect broken
<img src>and embedded videos. - Scan user comments: optionally check links in approved comments.
- Custom fields (ACF): optionally scan URL fields added by plugins like Advanced Custom Fields.
- Daily automatic scan and hourly batch check via WP-Cron. Can close the browser while checking.
- Nofollow broken links: automatically adds
rel="nofollow"to broken links so search engines ignore them. - Preserve post dates: editing a link does not update the post modification date.
- Compatible with LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, SG Optimizer, Breeze, and Cloudflare.
- Includes Catalan and Spanish translations.
How it works
- Click Scan now to extract all links from your posts.
- Click Check now to send HTTP requests to every URL (runs server-side, you can close the browser).
- Review results using the Broken, Redirect, HTTP insecure and other filter tabs.
- Fix links using Edit URL, Suggestion, Unlink or Mark as OK from each row.
Redirect intelligence
The plugin follows the full redirect chain manually so it captures the real final destination, not just the last HTTP code. It automatically ignores trivial redirects (trailing slashes, CDN tokens, WP attachment pages, login walls) to avoid false positives.
Screenshots
Installation
- Upload the
tso-link-inspectorfolder to the/wp-content/plugins/directory. - Activate the plugin from the Plugins menu in WordPress.
- Go to Tools > TSO Link Inspector.
- Click Scan now to run the first scan, then Check now to verify all links.
FAQ
-
When does the automatic scan run?
-
A full scan runs once daily. The link check runs hourly in small batches. Both use WP-Cron. The next scheduled runs are shown at the top of the dashboard.
-
Can I fix links without opening each post?
-
Yes. Use Edit URL to replace a URL, Unlink to remove the anchor tag while keeping the text, or Suggestion to automatically find a working alternative.
-
Is it compatible with Gutenberg?
-
Yes. The plugin processes
post_contentusing WordPress standard filters and works with the Block Editor, Classic Editor, and most page builders. -
Will it scan custom fields (ACF)?
-
Yes. Enable Custom fields (ACF / Meta) in Settings. The plugin scans URL, HTML and text fields. You can add keys to the exclusion list to skip specific fields.
-
What does the HTTP Insecure filter show?
-
Links that are working (not broken) but still use
http://instead ofhttps://. Use the Suggestion button to upgrade them with one click. -
What is the Ignore List?
-
A list of domains or URL prefixes (one per line) that will never be scanned or checked. Useful for domains that block bots (Amazon, Facebook) or your own site.
-
Does it change the post modification date?
-
Only if you want it to. Enable Do not update modification date in Settings to edit links without changing
post_modified. -
What does “Mark as OK” do?
-
It sets the link status to 200 OK manually without making an HTTP request. The post is not modified. Useful for URLs that are temporarily blocked but you know they work.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“TSO Link Inspector” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “TSO Link Inspector” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.9.0
- New: Comment links use an internal
source_key, so the same URL can appear both in post content and in comments without overwriting each other in the database. - Improvement: Comment scanning advances via a persistent cursor (
comment_ID) so large sites eventually scan all approved comments; the daily cron also keeps draining comments after the post batch finishes (within the time budget). - Improvement: After scanning each comment, stale inspector rows for that comment are removed when URLs disappear from comment body or author website fields.
- New: When a comment is permanently deleted in WordPress, matching inspector rows are removed (
deleted_commenthook). - Fix: Editing a comment URL from the plugin now fails with an error if the URL cannot be found in that comment (no silent “database-only” update).
- Improvement: More redirects treated as trivial noise — drop one interior path segment on the same host (common permalink/category consolidation next to trailing-slash normalization).
1.8.4
- Fix: Plain
http://links that return 200 are no longer shown as green “OK”; they use the warning style and an explicit “HTTP — use HTTPS” label. The “OK” filter and OK stat count exclude these rows (they remain under HTTP insecure).
1.8.3
- WordPress.org compliance: internal code prefix renamed from
tso_lc_/TSO_LC_totsoliin_/TSOLIIN_(classes, defines, options, AJAX actions, cron hooks, script handles, nonces, and admin CSS/JS hooks). Existing installs migrate stored options and legacy cron events automatically on upgrade. - Bootstrap entry point is now
tsoliin_link_inspector(); custom hook after post updates istsoliin_after_post_update(replacetso_lc_after_post_updatein any custom integrations).
1.8.2
- Improvement: Treat WordPress login redirects (for example
/wp-admin/->wp-login.php?redirect_to=...) as authentication walls, not actionable redirect issues.
1.8.1
- Improvement: “Check now” resumes partial background progress when unchecked links are pending, instead of always restarting from 0%.
1.8.0
- Rebrand: plugin display name changed to TSO Link Inspector and admin page slugs moved to
tso-link-inspector. - i18n slug updated to
tso-link-inspectorin plugin headers, text-domain constant, and PHP translation calls. - Prefix hardening: bootstrap function renamed to
tsoliin_link_inspector()(superseded by the fullertsoliin_/TSOLIIN_prefix in 1.8.3).
1.7.11
- Improvement: Retry with GET when HEAD returns
401(some sites, including Facebook, block HEAD but answer GET).
1.7.10
- Improvement: More “transparent” redirects —
wwwcanonicalisation compares paths case-insensitively and with decoded segments (fixes edge cases likepublico.eswww.publico.es). - Improvement: Chrome Web Store migration (
chrome.google.com/webstore/...chromewebstore.google.com/detail/...+ optionalucbcb) treated as OK, not as a redirect to “fix”. - Improvement: LiberKey legacy catalog/browse URLs redirecting to
/{lang}.htmlon the same host treated as transparent (marketing consolidation, not a broken link).
1.7.9
- Improvement: Treat Telegram
/dl/…“latest installer” redirects to a versioned.exeon*.telegram.orgas transparent — no redirect noise, and no Smart Suggestion to replace the stable URL (which would pin the post to one version).
1.7.8
- Improvement: Treat common “canonical” redirects as transparent — same hostname with/without
www, optionalhttphttps, same path, and query string adds only tracking/consent-style parameters (for example YouTubeucbcb/cbrd, UTM,gclid,fbclid).
1.7.7
- Improvement: URLs with a
#fragmentand a server redirect are treated as OK when the final response is successful (anchors are not sent over HTTP; redirect targets omit them). - Improvement: “Recheck” (single and bulk) no longer clears “Not broken” — manual OK stays until the URL fails or you edit the URL in the post.
- Improvement: Hide “Suggestion” for manually verified rows; clearer lock icon tooltip.
1.7.6
- Improvement: Complete language selector flow for
ca,es_ES, anden, including runtime fallback parsing from.pofiles when needed. - Improvement: Unified list-table strings and bulk actions under plugin text domain for consistent translations.
- Improvement: Mobile responsive layout fixes for dashboard cards, filter tabs, list rows, and settings textarea to prevent horizontal overflow.
- Fix: PHPCS warning in bulk actions output (
OutputNotEscaped) by restructuring option rendering. - Fix: Readme metadata consistency (
Stable tagaligned with plugin version).
1.4.3
- New: HTTP insecure filter tab and stat card for active links using http://.
- New: Per-article view — click the list icon next to any article to see all its links.
- Improvement: search box now searches URL, anchor text, article title and redirect URL simultaneously.
1.4.2
- New: Ignore list — add domains or URL prefixes to skip during scan and check.
- New: Export CSV — export any filtered view to a CSV file (Excel-compatible with UTF-8 BOM).
- New: Nofollow broken links — automatically adds rel=”nofollow” to broken links on the frontend.
- New: Preserve post dates — option to not update post_modified when editing a link.
1.4.0
- Fix: Redirect false positives — trailing slash, CDN assets, WP attachment pages, download tokens and login walls are now treated as transparent.
- Fix: Fragment URLs (#comment-1898) no longer incorrectly detected as redirects.
- Fix: Smart suggest now shows already-detected redirect URL as first suggestion instantly.
- Fix: Suggest button now also appears for redirect and http:// links.
- Fix: “Data desconeguda” shown instead of “Mai” for records with status but no check date.
- Fix: Timezone double-conversion corrected (dates now store UTC).
- Fix: Next cron run times shown on dashboard.
1.3.0
- New: Redirect chain follows up to 8 hops manually (captures real final URL).
- New: 303 See Other label added.
- New: Trailing slash redirects suppressed automatically.
- New: Auth/login wall redirects (Facebook, Google) shown as 401 warning, not redirect.
- New: CDN asset and download token redirects suppressed.
- Improvement: URL column wider with full URL on hover tooltip.
1.2.0
- Rewritten from scratch to eliminate accumulated PHP parse errors.
- New: Scan images (img src), iframes, and user comments.
- New: Smart URL Suggester (HTTPS upgrade, redirect follow, www variant).
- New: Mark as OK button.
- New: Bulk unlink and bulk mark as OK.
- New: link_type column (link, image, iframe, comment).
- Fix: URLs with {} characters no longer corrupted by esc_url_raw.
- Fix: Comment links correctly handled by Unlink and Edit URL.
1.0.0
- Initial release.


