=== CubeMage Smart Link Checker ===
Contributors: cubemage
Tags: broken link checker, link monitor, seo, 404 checker, affiliate links
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A lightweight broken link checker for WordPress. Detects 404 errors, monitors affiliate links, and scans content with adjustable server load settings.

== Description ==

**CubeMage Smart Link Checker** is a tool designed to help maintain site health by identifying broken links.

It aims to address common issues found in link checking tools, such as high server resource usage and false positives on external links.

**Key Features:**

* **User-Agent Rotation:** Simulates standard browser headers during HTTP requests to reduce "403 Forbidden" false positives often seen with links from Amazon or YouTube.
* **Adjustable Check Interval:** Allows administrators to set a specific delay (e.g., 0.5s) between link checks to manage server CPU load.
* **Internal & External Detection:** Scans Posts and Pages, categorizing links as Internal or External for easier management.
* **Email Reporting:** Sends a summary email upon scan completion.
* **Direct Fix Links:** Provides shortcuts to edit posts containing broken links.

**Usage:**

1.  Go to the **"Link Checker"** menu.
2.  Configure settings (optional).
3.  Click **"Start Full Scan"**.
4.  Review the results table.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/cubemage-smart-link-checker` directory, or install the plugin through the WordPress plugins screen.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Use the **Link Checker** menu to start scanning.

== Frequently Asked Questions ==

= How does the scan affect server performance? =
The plugin processes links in batches via AJAX and includes a configurable "sleep" interval between requests to minimize server load.

= Does it support Amazon affiliate links? =
Yes. The plugin includes a User-Agent rotation feature intended to improve the accuracy of status checks for external services that block generic bot requests.

== Screenshots ==

1.  **Dashboard:** The main interface with the scan controls.
2.  **Settings:** Configuration options for scan speed and user-agent mode.
3.  **Results:** List showing detected link statuses.

== Changelog ==

= 1.0.0 =
* Initial release.