=== WDD Redirect Chain Fixer ===
Contributors: nasibulalam
Tags: redirect, 301, redirect chain, seo, redirection
Requires at least: 5.1
Tested up to: 6.8
Requires PHP: 7.1
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage redirects, detect redirect chains and fix them in one click.

== Description ==

WDD Redirect Chain Fixer lets you create 301, 302, 307 and 308 redirects, finds chains (A → B → C) in your redirect rules, and points each source straight to its final destination. A live checker traces every hop for any URL.

Find it under **Settings → Redirect Chain Fixer**.

Full documentation: `docs/index.html` in the plugin folder.

== Installation ==

1. Upload the plugin ZIP via Plugins → Add New → Upload Plugin.
2. Activate it.
3. Open Settings → Redirect Chain Fixer.

== Changelog ==

= 1.1.0 - 2026-10-23 =
* Fixed: source URLs entered as a full URL (https://yoursite.com/old-page) now redirect. Existing rules are migrated on update.
* Fixed: target URLs are no longer lowercased.
* Fixed: percent-encoded URLs are matched correctly.
* Fixed: chain detection follows full chains, matches full-URL and path rules together, and skips loops.
* Fixed: duplicate source check on edit; same-URL check compares paths.
* Fixed: live checker chain count, relative Location headers, HEAD → GET fallback.
* Fixed: disabling case-sensitive matching lowercases existing sources.
* Fixed: dbDelta table definition; upgrades now run after in-place updates.
* Changed: admin page moved to Settings → Redirect Chain Fixer (old links are forwarded).
* Changed: relative targets resolve against the site host.
* Added: Settings link on the Plugins screen; errors for external and query-string sources.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.1.0 =
Fixes full-URL source redirects and moves the plugin under Settings. Back up your database before updating.
