Description
Codesala Broken Link Fixer is a lightweight WordPress plugin by Codesala that automatically scans all your posts and pages for broken links (HTTP 404, 500, and other error codes), and lets you fix them — right from your WordPress dashboard.
Built by Bikas Kumar at Codesala using the WordPress Plugin Boilerplate.
Key Features
- One-click scan — Scan your entire site with a single button click.
- AJAX batched scanning — Scans in small batches to avoid server timeouts. Shows a live progress bar.
- Replace URL — Replace a broken URL with a working one. Post content is updated automatically.
- Remove Link — Remove a broken link’s anchor tag while keeping the visible text.
- Ignore Link — Mark a link as ignored so it won’t clutter your results.
- Bulk Actions (new in 2.0) — Select multiple broken links at once and Bulk Remove, Bulk Redirect (replace URLs in batch via a modal), or Bulk Ignore in a single click.
- HTTP status display — See the exact error code (404, 500, 403, Timeout, etc.) for each broken link.
- Scheduled automatic scanning — Set up hourly, daily, or weekly automated scans via WP-Cron.
- Email notifications — Receive an email alert whenever broken links are found.
- Clean uninstall — Removes all database tables and plugin options on uninstall.
- WordPress Coding Standards — Built with security best practices: nonces, capability checks, sanitization, and prepared SQL queries.
Use Cases
- SEO managers who want to keep all outbound and internal links healthy.
- Content editors maintaining large blog archives.
- Site owners who want automated weekly health checks.
Installation
- Upload the
codesala-broken-link-fixerfolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins screen in WordPress.
- Navigate to Broken Links Dashboard in your WordPress admin menu.
- Click Scan Website for Broken Links to run your first scan.
- Configure automated scanning under Broken Links Settings.
FAQ
-
Does this plugin slow down my website?
-
No. Scanning happens only when you click the scan button (or when WP-Cron triggers it). It does not affect your front-end performance at all.
-
How does the scanner check links?
-
It uses WordPress’s built-in
wp_remote_head()(with a fallback towp_remote_get()) to send HTTP requests to each URL and checks the response code. -
What HTTP codes are considered “broken”?
-
0 (timeout/unreachable), 400, 401, 403, 404, 408, 410, 500, 502, 503, 504.
-
Will it fix internal links too?
-
Yes — the scanner checks all absolute
http://andhttps://URLs found in post content, whether they are internal or external. -
Does it scan custom post types?
-
The current version scans Posts and Pages. Support for custom post types is planned for a future release.
-
What happens when I uninstall?
-
The plugin removes its custom database table (
wp_broken_links) and all options fromwp_options. Your posts and pages are untouched.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Codesala Broken Link Fixer” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Codesala Broken Link Fixer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.0
- NEW: Bulk Actions bar — select multiple broken links with checkboxes and act on them at once.
- NEW: Bulk Remove Broken Links — strip anchor tags for many links in one click (visible text preserved).
- NEW: Bulk Redirect — opens a modal listing all selected broken URLs with an input for each new target URL; replaces them all in a single batch.
- NEW: Bulk Ignore — mark many links as ignored at once.
- NEW: “Select All” master checkbox in the links table header.
- IMPROVED: Posts containing multiple broken links are now updated in a single
wp_update_post()per post (faster, fewer revisions, safer). - IMPROVED: Dashboard layout polished with a dedicated bulk-action bar, a selected-count indicator, and an accessible modal overlay (Escape key + click-outside to close).
- IMPROVED: Minor CSS cleanup and mobile responsiveness.
1.0.0
- Initial release.
- AJAX-powered batched scanner.
- Replace URL, Remove Link, Ignore Link actions.
- Scheduled scanning via WP-Cron.
- Email notifications on broken link detection.
- Settings page with frequency and email configuration.
- Full uninstall cleanup.
