{"id":412579,"date":"2026-12-01T09:01:51","date_gmt":"2026-12-01T09:01:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/pti-broken-link-manager\/"},"modified":"2026-12-01T09:01:36","modified_gmt":"2026-12-01T09:01:36","slug":"pti-link-health-auditor","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/pti-link-health-auditor\/","author":23245014,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.4","requires_php":"7.4","requires_plugins":null,"header_name":"PTI Link Health Auditor","header_author":"ptiwebtech2025","header_description":"Discovers, extracts, normalizes, and deduplicates URLs from published WordPress posts and pages, verifies live HTTP status, and enables in-dashboard link repair, redirect updating, and unlinking.","last_updated":"2026-12-01 09:01:36","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.ptiwebtech.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/www.ptiwebtech.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":220,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"ptiwebtech2025","date":"2026-12-01 09:01:36","revision":3837107}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3837107,"resolution":"128x128","location":"assets","locale":"","width":640,"height":640}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3837107,"resolution":"772x250","location":"assets","locale":"","width":1544,"height":628}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3837107,"resolution":"1","location":"assets","locale":"","width":1909,"height":882},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3837107,"resolution":"2","location":"assets","locale":"","width":1909,"height":890},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3837107,"resolution":"3","location":"assets","locale":"","width":1920,"height":1080}},"screenshots":[]},"plugin_section":[],"plugin_tags":[905,14279,14280,296815,726],"plugin_category":[],"plugin_contributors":[240215],"plugin_business_model":[],"class_list":["post-412579","plugin","type-plugin","status-publish","hentry","plugin_tags-905","plugin_tags-broken-links","plugin_tags-link-checker","plugin_tags-link-repair","plugin_tags-redirects","plugin_contributors-ptiwebtech2025","plugin_committers-ptiwebtech2025"],"banners":{"banner":"https:\/\/ps.w.org\/pti-link-health-auditor\/assets\/banner-772x250.png?rev=3837107","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pti-link-health-auditor\/assets\/icon-128x128.png?rev=3837107","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pti-link-health-auditor\/assets\/screenshot-1.png?rev=3837107","caption":""},{"src":"https:\/\/ps.w.org\/pti-link-health-auditor\/assets\/screenshot-2.png?rev=3837107","caption":""},{"src":"https:\/\/ps.w.org\/pti-link-health-auditor\/assets\/screenshot-3.png?rev=3837107","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>PTI Link Health Auditor<\/strong> is a modular WordPress plugin built to discover, extract, normalize, deduplicate, verify, and repair link references across your published WordPress posts and pages.<\/p>\n\n<p>With built-in live HTTP status verification, automated WP-Cron background scanning, and in-dashboard link repair, it helps administrators keep site links healthy and up to date without leaving the WordPress dashboard.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Content Discovery &amp; Batch Scanning:<\/strong> Scans published WordPress posts and pages in bounded batches (25, 50, or 100 records) to prevent server timeouts and memory exhaustion. Excludes drafts, revisions, trash, scheduled, and private content.<\/li>\n<li><strong>Comprehensive URL Extraction:<\/strong> Extracts URLs from HTML anchor elements (<code>&lt;a&gt;<\/code>), images (<code>&lt;img&gt;<\/code> <code>src<\/code>), and responsive picture sets (<code>srcset<\/code>) using native <code>DOMDocument<\/code> parsing with regex fallback.<\/li>\n<li><strong>RFC 3986 URL Normalization:<\/strong> Resolves relative, root-relative, and protocol-relative URLs against source post permalinks according to RFC 3986. Filters out non-web schemes (<code>mailto:<\/code>, <code>tel:<\/code>, <code>javascript:<\/code>, data URIs, anchor-only <code>#<\/code>).<\/li>\n<li><strong>Two-Level Deduplicated Inventory:<\/strong> Provides a flat unique URL inventory with occurrence counts while maintaining a full reference log linking every URL back to its source posts and HTML elements.<\/li>\n<li><strong>Live HTTP Status Checking:<\/strong> Verifies external and public HTTP\/HTTPS URLs using WordPress Core safe HTTP APIs (<code>wp_safe_remote_head<\/code> with fallback to <code>wp_safe_remote_get<\/code>), including SSRF protections against private, loopback, and reserved IP ranges.<\/li>\n<li><strong>Accurate Link Classification:<\/strong> Identifies working links (200 OK \/ 2xx \/ 304), broken links (404 Not Found, 410 Gone, 500+ Server Errors, DNS\/connection failures), redirects (301, 302, 303, 307, 308 with destination targets and hop counts), and warnings (401 Unauthorized, 403 Forbidden, 429 Too Many Requests, SSL certificate issues, timeouts).<\/li>\n<li><strong>Sequential Batch Verification:<\/strong> Checks links in configurable micro-batches (5, 10, or 20 URLs) with a live progress bar.<\/li>\n<li><strong>On-Demand Single Link Checking:<\/strong> Check or re-verify individual links directly from the results table.<\/li>\n<li><strong>Persistent Custom Database Storage:<\/strong> Discovered link inventories and live verification results are saved to dedicated custom tables (<code>{prefix}ptiwebtech2025_lha_links<\/code> and <code>{prefix}ptiwebtech2025_lha_references<\/code>), preserving your data across page refreshes and sessions.<\/li>\n<li><strong>Automated WP-Cron Background Scans:<\/strong> Schedule recurring scans (Hourly, Twice Daily, Daily, Weekly) to run in the background via WordPress WP-Cron.<\/li>\n<li><strong>Interactive Background Worker:<\/strong> Process large inventories in non-blocking micro-batches with Pause, Resume, and Cancel controls.<\/li>\n<li><strong>In-Dashboard Single Link Repair:<\/strong> Edit and replace broken or outdated links directly within specific posts without opening the WordPress editor.<\/li>\n<li><strong>1-Click Apply Redirect Target:<\/strong> Update redirected links (301\/302) to point directly to their final destination target URL in one click.<\/li>\n<li><strong>Bulk URL Replacement:<\/strong> Replace a URL across all posts and pages where it occurs in one unified action.<\/li>\n<li><strong>Quick Unlink:<\/strong> Strip dead or unwanted <code>&lt;a&gt;<\/code> tags cleanly while keeping anchor text and nested formatting intact.<\/li>\n<li><strong>Gutenberg Block Preservation:<\/strong> Safely updates post content and Gutenberg block comment JSON attributes without triggering block recovery errors.<\/li>\n<li><strong>Immediate Re-Verification:<\/strong> Repaired HTTP\/HTTPS links are automatically re-verified against live endpoints with instant UI badge updates.<\/li>\n<li><strong>Interactive Filtering &amp; Search:<\/strong> Filter by HTTP Status (Working, Broken, Redirects, Warnings, Unchecked) or element type (<code>&lt;a&gt;<\/code>, <code>&lt;img&gt;<\/code>, <code>srcset<\/code>) with instant live search.<\/li>\n<li><strong>Configurable Scanner Settings:<\/strong> Tailor discovery batch sizes, HTTP verification concurrency, and connection timeouts to match your web host.<\/li>\n<li><strong>Database Reset &amp; Clean Uninstall:<\/strong> One-click clear database option to reset stored inventories, plus complete cleanup of custom tables, options, transients, and scheduled events upon uninstall (including Multisite).<\/li>\n<\/ul>\n\n<h3>Usage &amp; Configuration<\/h3>\n\n<h3>Configuration<\/h3>\n\n<p>Click the <strong>Settings<\/strong> (gear) button on the Link Health Auditor dashboard to configure:\n* <strong>Automated Scan Frequency (WP-Cron):<\/strong> Choose Manual Only (Disabled), Once Hourly, Twice Daily, Once Daily, or Once Weekly.\n* <strong>Content Discovery Batch Size:<\/strong> Choose 25, 50 (Recommended), or 100 posts per batch.\n* <strong>HTTP Verification Micro-Batch Size:<\/strong> Choose 5 (Safe \/ Shared Hosts), 10 (Recommended), or 20 URLs per batch.\n* <strong>HTTP Connection Timeout:<\/strong> Set the maximum wait time per HTTP check (3 to 60 seconds, default 10).\n* <strong>Auto-Verify:<\/strong> Toggle whether HTTP verification starts automatically after background discovery completes.<\/p>\n\n<h3>Scanning &amp; Interpreting Results<\/h3>\n\n<ol>\n<li>Click <strong>Discover URLs<\/strong> to extract and normalize URLs from published posts and pages.<\/li>\n<li>Click <strong>Verify Discovered URLs<\/strong> (or <strong>Check<\/strong> \/ <strong>Recheck<\/strong> on an individual row) to check live HTTP status.<\/li>\n<li>Status categories:\n\n<ul>\n<li><strong>Working:<\/strong> HTTP 2xx responses (such as <code>200 OK<\/code>) and <code>304 Not Modified<\/code>.<\/li>\n<li><strong>Redirects:<\/strong> HTTP <code>301<\/code>, <code>302<\/code>, <code>303<\/code>, <code>307<\/code>, or <code>308<\/code> responses, showing the final resolved destination URL and hop count.<\/li>\n<li><strong>Broken:<\/strong> HTTP <code>404<\/code>, <code>410<\/code>, <code>5xx<\/code> server errors, redirect loops, DNS failures, or refused connections.<\/li>\n<li><strong>Warnings:<\/strong> HTTP <code>401<\/code>, <code>403<\/code>, <code>429<\/code>, SSL certificate errors, connection timeouts, or blocked unsafe redirects.<\/li>\n<li><strong>Unchecked \/ Non-Web:<\/strong> Links not yet verified, or non-HTTP schemes (<code>mailto:<\/code>, <code>tel:<\/code>, <code>javascript:<\/code>, <code>#<\/code> placeholders).<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>Repairing, Updating Redirects, and Unlinking<\/h3>\n\n<ul>\n<li><strong>Repair Single Link:<\/strong> Click <strong>Repair<\/strong> on a row in <strong>Discovered References<\/strong> to edit the URL in that specific post.<\/li>\n<li><strong>Bulk Replace URL:<\/strong> Switch to <strong>Unique URL Inventory<\/strong> and click <strong>Repair All<\/strong> to replace the URL across all matching posts.<\/li>\n<li><strong>Apply Redirect Target:<\/strong> On redirected links, click <strong>Apply 301\/302<\/strong> (single or bulk) to update the source content directly to the final destination URL.<\/li>\n<li><strong>Unlink:<\/strong> Click <strong>Unlink<\/strong> (or <strong>Unlink All<\/strong>) on anchor links to remove the <code>&lt;a&gt;<\/code> tag while preserving the anchor text and inner HTML.<\/li>\n<\/ul>\n\n<h3>Third-Party \/ External Services &amp; Privacy<\/h3>\n\n<p>This plugin makes outbound HTTP requests from your WordPress server using WordPress Core safe HTTP APIs (<code>wp_safe_remote_head<\/code> and <code>wp_safe_remote_get<\/code>) solely to verify the availability and HTTP status of HTTP\/HTTPS URLs discovered in your published content.<\/p>\n\n<ul>\n<li><strong>Destinations contacted:<\/strong> Outbound HTTP\/HTTPS requests are sent directly to the target hostnames of URLs discovered in your published posts and pages, as well as any HTTP redirect destinations (<code>Location<\/code> headers) returned by those servers (up to 5 hops by default). Requests to private, loopback, link-local\/metadata, and reserved IP ranges are blocked for SSRF protection.<\/li>\n<li><strong>When requests occur:<\/strong> Outbound requests are initiated only when an administrator triggers link verification manually (<strong>Verify Discovered URLs<\/strong>, <strong>Check<\/strong> \/ <strong>Recheck<\/strong>, <strong>Background Scan<\/strong>, or post-repair re-verification) or when scheduled background verification runs via WP-Cron (disabled by default until configured).<\/li>\n<li><strong>Data transmitted:<\/strong> Making an HTTP request to a remote server inherently discloses your WordPress server's outbound IP address, the requested URL (domain, path, and query string), and standard HTTP request headers (<code>User-Agent: Mozilla\/5.0 (compatible; PTILinkHealthAuditor\/1.0.0)<\/code>, <code>Accept<\/code>, and <code>Range: bytes=0-1024<\/code> on GET fallback). Administrators should ensure that published content does not rely on sensitive query tokens in URLs if they do not wish those URLs to be requested during link checks.<\/li>\n<li><strong>Local storage &amp; retention:<\/strong> Discovered URLs, source post IDs, titles, permalinks, edit URLs, anchor\/alt text, element snippets, HTTP status codes, redirect destinations, response times, and scan settings\/timestamps are stored locally in your own WordPress MySQL database (<code>{prefix}ptiwebtech2025_lha_links<\/code>, <code>{prefix}ptiwebtech2025_lha_references<\/code>, and <code>wp_options<\/code>). You can erase stored link records at any time using the <strong>Clear All Stored Data<\/strong> button, and all plugin tables, options, transients, and scheduled hooks are removed upon plugin deletion.<\/li>\n<li><strong>Developer telemetry:<\/strong> The plugin does not send telemetry, usage statistics, or site data to the plugin authors or any external tracking service.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>pti-link-health-auditor<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin <code>.zip<\/code> file directly through <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen in WordPress.<\/li>\n<li>Navigate to <strong>Link Health Auditor<\/strong> in the WordPress admin sidebar menu.<\/li>\n<li>Click the gear icon (<strong>Scan &amp; Schedule Settings<\/strong>) if you want to configure batch sizes, connection timeouts, or automated WP-Cron scheduling.<\/li>\n<li>Click <strong>Discover URLs<\/strong> to scan your published content, or <strong>Background Scan<\/strong> to run discovery and verification automatically.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20check%20whether%20links%20are%20working%20or%20broken%3F\"><h3>Does this plugin check whether links are working or broken?<\/h3><\/dt>\n<dd><p>Yes. The HTTP Link Verification engine tests discovered HTTP\/HTTPS URLs using <code>wp_safe_remote_head<\/code> (falling back to <code>wp_safe_remote_get<\/code> when HEAD is rejected) and reports live HTTP status codes, redirects, timeouts, and connection errors.<\/p><\/dd>\n<dt id=\"can%20i%20fix%20broken%20links%20directly%20from%20the%20plugin%20table%3F\"><h3>Can I fix broken links directly from the plugin table?<\/h3><\/dt>\n<dd><p>Yes. The plugin provides direct in-dashboard link editing, 1-click redirect target updating, bulk URL replacement across posts, and clean unlinking without having to open each post in the WordPress editor.<\/p><\/dd>\n<dt id=\"does%20it%20check%20drafts%20or%20private%20posts%3F\"><h3>Does it check drafts or private posts?<\/h3><\/dt>\n<dd><p>No. The discovery engine strictly queries published posts and pages (<code>post_status =&gt; 'publish'<\/code>). Drafts, revisions, private, scheduled, and trashed posts are excluded.<\/p><\/dd>\n<dt id=\"do%20discovered%20links%20and%20http%20checks%20persist%20after%20page%20reload%3F\"><h3>Do discovered links and HTTP checks persist after page reload?<\/h3><\/dt>\n<dd><p>Yes. Discovered links and verification results are saved in dedicated database tables (<code>{prefix}ptiwebtech2025_lha_links<\/code> and <code>{prefix}ptiwebtech2025_lha_references<\/code>) and reload automatically when you open the dashboard.<\/p><\/dd>\n<dt id=\"how%20does%20it%20handle%20large%20sites%3F\"><h3>How does it handle large sites?<\/h3><\/dt>\n<dd><p>Both content discovery and link verification operate in bounded batches with progress indicators to prevent server timeouts and high memory usage. You can also run non-blocking background scans or schedule recurring WP-Cron scans.<\/p><\/dd>\n<dt id=\"what%20data%20does%20this%20plugin%20send%20to%20external%20servers%3F\"><h3>What data does this plugin send to external servers?<\/h3><\/dt>\n<dd><p>The plugin does not send telemetry or site data to the plugin developers. However, verifying links requires your WordPress server to send HTTP HEAD\/GET requests to the remote servers hosting the URLs found in your published posts (and any redirect targets). Those remote servers receive your server's IP address, the requested URL, and standard <code>User-Agent<\/code>\/<code>Accept<\/code> HTTP headers.<\/p><\/dd>\n<dt id=\"what%20are%20the%20requirements%20and%20where%20can%20i%20get%20support%3F\"><h3>What are the requirements and where can I get support?<\/h3><\/dt>\n<dd><p>PTI Link Health Auditor requires WordPress 6.4 or higher and PHP 7.4 or higher (with the PHP <code>dom<\/code> extension recommended for HTML parsing, and a built-in regex fallback if unavailable). For support, bug reports, or questions, please use the official WordPress.org plugin support forum.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<li>Automated content discovery across published posts and pages in bounded batches.<\/li>\n<li>Deep URL extraction from anchor links (<code>&lt;a&gt;<\/code>), image sources (<code>&lt;img&gt;<\/code>), and responsive picture sets (<code>srcset<\/code>).<\/li>\n<li>RFC 3986 relative URL resolution and two-level deduplication inventory preserving source references.<\/li>\n<li>Safe HTTP status verification engine supporting <code>wp_safe_remote_head<\/code> with <code>wp_safe_remote_get<\/code> fallback and SSRF protections.<\/li>\n<li>Accurate detection of working links (200), broken links (404\/5xx), redirects (301\/302), and warnings (403\/SSL\/timeouts).<\/li>\n<li>Dedicated MySQL tables for persistent storage across sessions and Multisite support.<\/li>\n<li>Automated background scanning via WP-Cron (Hourly, Twice Daily, Daily, Weekly).<\/li>\n<li>Non-blocking background worker with interactive Pause, Resume, and Cancel controls.<\/li>\n<li>In-dashboard single link repair and 1-click redirect target replacement without opening the editor.<\/li>\n<li>Bulk URL replacement across multiple posts.<\/li>\n<li>Clean anchor unlinking preserving inner text and child HTML formatting.<\/li>\n<li>Gutenberg block comments and attributes preservation.<\/li>\n<li>Instant re-verification of repaired HTTP\/HTTPS URLs with real-time UI badge updates.<\/li>\n<li>Interactive status filtering and instant search.<\/li>\n<li>Configurable scan settings modal and one-click database reset tool.<\/li>\n<\/ul>","raw_excerpt":"Discover, verify, and repair broken links, 404s, and redirects across WordPress posts and pages with automated background scanning.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/412579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=412579"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ptiwebtech2025"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=412579"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=412579"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=412579"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=412579"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=412579"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=412579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}