
Tanik Link Repair Toolkit
v1.9.6Tanik Sarkar · 2026年11月22日 上架
Audit links, repair outdated URLs, manage link tab behavior, and search and replace supported post content with dry-run preview and undo.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 92
- 最近更新
- 2026年11月22日
贡献者
截图







Tanik Link Repair Toolkit helps WordPress administrators audit post content links, identify broken destinations, track page URL changes, and manage whether links open in the same tab or in a new tab.
Review scan results before editing content. A dedicated Link Tab Behavior Manager classifies links using the current site hostname, without hard-coded domains. Use its separate site-wide actions to remove target=”_blank” from internal links and add target=”_blank” to external HTTP(S) links. Both actions can be undone if the edited content has not subsequently changed. Site-wide changes require administrator permissions and the unfiltered_html capability to preserve existing markup during post updates. On multisite, regular site administrators may not have that capability.
Features
- Search & Replace supports plain visible-text or safe URL replacement, plus existing Keyword Linking, with selectable Content, SEO Metadata, Buttons & Menus, or Entire Website scopes.
- Preview counts and affected content with Dry Run enabled by default, without modifications.
- Replace exact linked anchor text, hyperlink destination, or both, without affecting unlinked text in Keyword Linking mode.
- Require explicit confirmation before applying a non-dry-run preview.
- Search content candidates in small batches and verify matches before each update.
-
Undo the latest Search & Replace operation using original per-item content; later manual edits cause conflicts and are not overwritten.
-
The dashboard Scan Entire Site button opens the Scan Entire Site tab without starting a scan. Start the batched scan from that tab.
- Scan posts, pages, and supported public custom post types for HTML anchor links.
- Display scan progress from 0% to 100%.
- Choose Published, Drafts, Trash, or any combination before a Full Scan; only selected content statuses are queried.
- Filter scan results by All, OK, Broken, and Unverified status.
- Open the corresponding WordPress editor in a new tab from each permitted scan-result Edit Page button.
- Track hierarchical page URL changes, including parent and child pages.
- Scan existing published post content for outdated Parent/Child page URLs, including changes made before activation without recorded plugin history.
- Compare linked historical paths with the current page hierarchy and available WordPress old-slug history; uniquely matched leaf slugs can suggest candidates, but cannot prove historical parent relationships.
- Automatically approve only unambiguous old-slug metadata matches when the old path does not resolve to a current page. Require administrator confirmation for inferred parent-path matches; never automatically repair uncertain candidates.
- Preview and repair matching old internal links in post content, supported Gutenberg/Spectra button URLs and supported builder URL metadata.
- Undo repairs when content has not been modified since the repair.
- Manage link scanning and repairs from the WordPress admin dashboard.
- Identify same-domain HTTP and HTTPS links using the current WordPress home URL, including suitable www variants.
- Treat root-relative links, document-relative URLs and fragments such as #contact as internal.
- Preview counts for internal and external links and links needing tab corrections, without changing content.
- Remove new-tab targets from internal HTML links via a separate administrator action.
- Add new-tab targets to external HTTP(S) HTML links using a separate administrator action.
- Update supported core Gutenberg Button and Navigation Link target attributes as applicable.
- Process scans and changes in small AJAX batches, with a progress indicator and per-post backups for undo.
- Preserve anchor text, URLs, styling, and unrelated HTML attributes during tab changes.
Historical Parent and Child URL Detection
Open Internal Link Fixer > Parent & Child Pages and run Scan Parent & Child Pages. In addition to tracking changes made after the plugin was installed, the historical scanner searches existing HTML anchor links in published Pages, Posts, and supported public editor-enabled Custom Post Types. It compares old linked paths with the current published page hierarchy, WordPress old-slug metadata and candidate page slugs.
For example, an old link to /services/additional-services/transgender-surgery/ftm-surgery/ may be suggested as a mapping to /transgender-surgery/ftm-surgery/ if the current hierarchy supports that destination. A matching final slug alone is not proof of identity. Review and explicitly confirm any inferred mapping before using the Link Repair Preview and Apply actions. The scanner does not modify links merely by scanning. Confirmed, uniquely attributable WordPress old-slug records may be approved automatically, but applying repairs remains a separate administrator action. Back up your database before applying and use the available Undo where supported.
This scanner does not reconstruct every historical parent relationship when old URL data is missing, and cannot guarantee a match when multiple pages share slugs. It does not inspect builder-only metadata, arbitrary serialized settings, widgets or theme templates. An empty Recorded URL Changes count reflects recorded changes, not necessarily the absence of outdated links. A historical scan with no candidates likewise does not prove that every link is current.
Search & Replace Coverage and Limitations
Search & Replace is available from Internal Link Fixer > Search & Replace. It works on post_content of supported public editor-enabled post types in publish, draft, private, pending, and future statuses. Only users with manage_options and unfiltered_html permissions can run it. Back up the site before live operations.
Text / Keyword mode changes matching text nodes in standard HTML post content. Absolute HTTP(S) URL searches can replace occurrences in post content. Site-relative URL path searches (for example /about/about-us/ to /about/) also find paths in HTML links and buttons, Gutenberg block JSON attributes, shortcodes and supported page-builder content and metadata, even when the rendered href includes the staging site domain. Path matches avoid similarly named slug suffixes. Ordinary text searches retain their original limited text-node behavior. Text replacements are case sensitive; the search value cannot be empty. Some builder-rendered text and third-party links outside supported stored fields still require manual edits. Entire Website means all supported safe fields, not a blind full-database rewrite.
Keyword Linking mode matches text-only HTML anchors by both keyword text and destination URL, then changes the text, destination, or both. It does not rewrite unrelated unlinked text or nested HTML anchors. Search results include up to 100 sample content items. A dry run does not create undo history. Live application rechecks each item’s original content hash; conflicts are skipped. Undo restores actual original content only when the post is unchanged after replacement.
Search & Replace does not scan options, passwords, theme files, widgets, or arbitrary database tables; it can update supported WordPress navigation menu labels and custom-link URLs when the Buttons & Menus scope is selected. It scans permitted post metadata including supported builder metadata, but not all plugin-specific storage. Serialized objects are excluded. Search operates in batches with a prepared content LIKE query for candidate discovery. Extremely large scans depend on available hosting resources and may need retries; AJAX operations must remain open until completed.
Scan Coverage and Limitations
The general link-health scanner checks standard HTML anchor links in supported WordPress post content.
The Link Tab Behavior Manager scans supported post content for HTML anchors and select core Gutenberg Button and Navigation Link attributes. It dynamically uses WordPress home_url() to distinguish same-host links from different-host HTTP(S) destinations. Relative paths and fragment anchors are treated as internal. Non-web schemes such as mailto:, tel:, and javascript: are skipped. The current staging or production domain is used automatically, but a link to a different production/staging hostname is considered external until its URL is updated.
The tab manager does not automatically modify theme templates, menus, widget options, arbitrary custom fields or metadata stored separately by third-party page builders. Site-wide admin actions are explicit: the link-health scan itself does not change content. Newly added links follow their editor’s current settings until a tab manager action is run. The plugin does not include a separate keyword-link generation engine; it repairs matching existing linked keywords.
Link health verification starts with a quick HEAD request. If the response is not clearly successful, the plugin performs a safe GET check, following a limited number of redirects. A HEAD 404/410 is never enough by itself to report a Broken link: GET must confirm it. In ambiguous cases, an additional GET can confirm a repeated 404/410. Temporary failures can be retried once. Successful HTTP responses do not require the scanner to wait for dynamic frontend JavaScript, embedded forms, or widgets to load.
Only reliably confirmed HTTP 404 and 410 responses are classified as Broken. Conflicting responses, timeouts, inaccessible destinations, HTTP 403/429 and unresolved errors are marked Unverified. Results are cached briefly to avoid redundant checks, and the same URL is checked only once per scan session when possible.
Network checks use WordPress safe HTTP request functions and contact the destination servers for each checked URL. These requests may reveal the scanning site server IP address and requested destination URLs to the receiving servers. Network checks can be affected by authentication requirements, caching, server restrictions, and remote response behavior. Private-network and otherwise unsafe destinations may be blocked and reported as Unverified.
The plugin does not guarantee detection of every link stored in widgets, theme files, custom database tables, or third-party page builder metadata.