=== InfoWebPlus: Redirect Content Manager ===
Contributors: infowebplus
Donate link: https://infowebplus.com
Tags: redirect, seo, sitemap, redirection, content
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.0.39
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Monitor retired URLs, audit redirect health, sync from Redirection, and auto-exclude 301s from XML sitemaps.

== Description ==

**Redirect Content Manager** helps WordPress teams manage **content retirement** - when pages are merged, removed, or replaced with 301 redirects. It is a monitoring and SEO hygiene layer that sits alongside your existing tools.

**This plugin does not create redirects.** It integrates with redirect plugins (Redirection, Rank Math, Yoast Premium, and others) and SEO plugins (Yoast SEO, Rank Math, SEOPress, AIOSEO) to give you one dashboard for redirected content, sitemap status, and SEO health.

Developed by [InfoWebPlus](https://infowebplus.com). Plugin page: [developers.infowebplus.com/wordpress/redirect-content-manager](https://developers.infowebplus.com/wordpress/redirect-content-manager/).

= Perfect for sites that =

* Retire or consolidate large numbers of pages (multi-location, international, or legacy content)
* Use **Redirection** (or similar) for 301 rules and **Yoast SEO** / **Rank Math** for sitemaps
* Run **Ahrefs** (or similar) site audits and need to reconcile 3xx redirect reports with live WordPress data
* Want redirected URLs **automatically removed from XML sitemaps** without manual Yoast work per URL

= Key features =

* **Monitored Items** - central list of URLs with redirect status, HTTP code, provider, and sitemap inclusion
* **Sync from redirect plugin** - import active 301 rules from Redirection, Rank Math, Yoast Premium, Safe Redirect Manager, or Simple 301 Redirects
* **Live sitemap exclusion** - active 301 redirects are excluded from XML sitemaps at generation time (works with Yoast and other supported SEO plugins)
* **SEO health checks** - redirect chains, loops, broken redirects, missing redirects, noindex in sitemap, and more
* **Import** - manual URLs, CSV (including Ahrefs exports), XLSX, ZIP archives
* **Dashboard** - KPIs, charts, quick filters, and one-click scans
* **Scheduled scans** - daily/weekly/monthly via WP Cron
* **Filters & bulk actions** - post type, status, HTTP code, redirect provider, sitemap status
* **Multisite compatible** and **translation ready**

= Supported redirect plugins =

* Redirection
* Rank Math
* Yoast SEO Premium
* Safe Redirect Manager
* Simple 301 Redirects

= Supported SEO plugins =

* Yoast SEO
* Rank Math
* SEOPress
* All in One SEO

= Privacy =

No tracking, telemetry, or external API calls. All scans and imports run on your server.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/redirect-content-manager/` or install via **Plugins → Add New → Upload**.
2. Activate through the **Plugins** screen.
3. Go to **Redirect Manager** in the admin menu.
4. Open **Settings** and choose your redirect provider and SEO plugin (or leave on Auto-detect).
5. On **Import**, click **Sync Now** to pull redirect rules, or import URLs from Ahrefs CSV.
6. Run **Scan Everything** on the Dashboard.

== Frequently Asked Questions ==

= Does this plugin create redirects? =

No. Redirect Content Manager **monitors** redirects from your existing redirect plugin. Create and edit rules in Redirection, Rank Math, or your preferred tool.

= Does it work with Ahrefs exports? =

Yes. Upload an Ahrefs CSV from **Site Audit → Redirects** (3xx redirect report). The importer reads `URL`, `Redirect URL`, and `HTTP status code`. Run **Scan Everything** afterward to reconcile with live redirect rules.

= Will redirected pages disappear from my sitemap automatically? =

Yes, when **Automatically exclude active 301 redirects from XML sitemaps** is enabled in Settings. The plugin checks live redirect rules (e.g. from Redirection) when Yoast or another supported SEO plugin builds the sitemap.

= Which redirect plugin should I use? =

Any supported provider works. For best results, set **Settings → Redirect Provider** to match the plugin you actually use (e.g. Redirection), then use **Import → Sync Now**.

= Does it work on large sites? =

Yes. Batch processing, pagination, and scheduled scans are designed for sites with thousands of URLs and redirects.

= Is data sent to external servers? =

No. Everything runs locally on your WordPress installation.

== Screenshots ==

1. Dashboard with KPIs, charts, and scan controls
2. Monitored Items table with filters for redirect status, HTTP code, and sitemap
3. Import screen - sync from Redirection and upload Ahrefs CSV
4. Health Issues - redirect chains, broken redirects, filters, and pagination
5. Settings - redirect provider, SEO plugin, and sitemap automation

== Changelog ==

= 1.0.39 =
* Health Issues redirect-chain messages show only the initial URL (full chain under View chain steps)

= 1.0.38 =
* Global Scan/Sync progress bar and status banner on all admin pages, including after tab switches
* Toast popups for Scan/Sync completion and errors
* Monitored Items and Health Issues filter layout cleanup
* Dashboard zero-count bars stay empty; No Redirect bar uses gray
* Plugin URI points to the developers site

= 1.0.37 =
* Scan progress UI (superseded by 1.0.38)

= 1.0.36 =
* Scan progress UI (superseded by 1.0.38)

= 1.0.35 =
* Admin UI cleanup (superseded by 1.0.38)

= 1.0.34 =
* Health Issues Export CSV placed next to filters and respects form selections
* Redirects targeting the site homepage are no longer flagged as broken

= 1.0.33 =
* Export Monitored Items to CSV with current filters
* Fix false PUBLISH status when a monitored URL path does not match the page permalink

= 1.0.32 =
* Export Health Issues to CSV
* Clickable URLs in health chain details and Recent Critical Issues

= 1.0.29 =
* Redesigned import methods grid with equal-height cards and file drop feedback

= 1.0.28 =
* Redirect provider selector on Import page with one-off sync support
* Dynamic sync button labels on Dashboard and Import

= 1.0.27 =
* Fixed Health Issues table column layout
* Fixed import file drop zones in dark admin themes

= 1.0.26 =
* Health Issues filters: severity, type, search, pagination

= 1.0.25 =
* Redesigned admin header, tabs, Health Issues, and Import pages

= 1.0.24 =
* New dashboard with KPI cards, bar chart, and health donut chart

= 1.0.22 =
* Sync imports only URLs linked to real WordPress pages
* Sortable Monitored Items columns and sitemap filter

= 1.0.21 =
* Sync from Redirection into Monitored Items
* Auto-sync before scheduled and manual scans

= 1.0.20 =
* Live sitemap exclusion for active 301 redirects without import

= 1.0.17 =
* Redirect chain detection uses live Redirection rules

= 1.0.13 =
* Ahrefs CSV redirect import support

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.39 =
Clearer Health Issues redirect-chain messages (initial URL only). Recommended update.

= 1.0.38 =
Scan/Sync progress UI across admin pages, filter layout cleanup, and Plugin URI update. Recommended update.

= 1.0.34 =
Fixes false critical issues for redirects to the homepage. Run Health Check after updating.

= 1.0.33 =
Fixes incorrect page matching for monitored URLs and adds Monitored Items CSV export. Run Scan Everything after updating.

= 1.0.32 =
Adds Health Issues CSV export and clickable URLs in health and dashboard issue views.

= 1.0.29 =
Import page UI improvements. Recommended update for all users.

= 1.0.21 =
Adds automatic sync from Redirection. Run Sync after updating if you use Redirection.

= 1.0.0 =
Initial release of Redirect Content Manager.
