=== Broken Link Checker ===
Contributors: snehalpancholi
Tags: broken links, link checker, seo, 404, dead links
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scans post content for external links via WP-Cron, flags broken ones (4xx/5xx/timeout), and lists them in an admin screen with recheck and dismiss actions.

== Description ==

Broken Link Checker keeps your content clean by automatically scanning external links in your posts and pages on a daily WP-Cron schedule and flagging the ones that return error responses.

**Features:**

* Indexes external links from any public post type
* Daily WP-Cron scan (configurable batch size to limit server load)
* Detects broken links (HTTP 4xx / 5xx / connection timeout)
* Admin screen with status filter (Broken / OK / All)
* Per-link Recheck and Dismiss actions
* Re-index action to pick up new posts instantly
* Optional admin email notification when broken links are found
* Dashboard widget showing total broken link count
* Respects HTTP redirects (follows up to 5 hops)

== Installation ==

1. Upload the `broken-link-checker` folder to `/wp-content/plugins/`.
2. Activate through **Plugins > Installed Plugins**.
3. Configure under **Tools > Broken Links** (Settings tab).
4. Click **Re-index Links** to scan content, then **Scan Now** to check them.

== Frequently Asked Questions ==

= Does this slow down my site? =
No. All scanning happens in the background via WP-Cron. Visitors never wait for link checks.

= How often does it scan? =
Once daily by default. Use the "Scan Now" button for an immediate check.

= Can I ignore a specific broken link? =
Yes — use the "Dismiss" action on any link row to remove it from the list.

== Changelog ==

= 1.0.0 =
* Initial release.
