SM Redirects
A WordPress plugin for managing 301 redirect rules.
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/shehuphd/sm-redirects/releases/download/v1.3.0/sm-redirects.zipDeclares an update source (false), so updates arrive through the plugin's own updater.
Readme
=== SM Redirects === Contributors: shehuphd Tags: redirects, 301, seo Requires at least: 6.0 Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 1.3.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html
A WordPress admin tool for managing 301 redirect rules.
== Description ==
SM Redirects provides a simple WordPress admin interface for exact-match 301 redirect rules, including status toggles, priorities, hit counts, logs, CSV/JSON import and export, query parameter handling, and case sensitivity controls. It also watches for slug changes on posts, pages, and custom post types, and prompts you to add a matching redirect the moment you save.
Plugin updates are checked automatically against GitHub releases, so new versions show up in the standard WordPress updates screen without a manual zip upload.
== Author ==
Built by Mo Shehu: https://mohammedshehu.com
== Changelog ==
= 1.3.0 =
- Added a slug-change redirect notice: when a published post, page, or CPT's URL changes, a prompt appears directly on the post edit screen — in the block editor immediately after save (no reload needed) and on the next load for the Classic Editor — offering to add a 301 redirect from the old path in one click. Styled to match core WordPress notice conventions (cream background, thin link-style actions), and the success message confirms both the old and new URL.
- Added admin nav submenu items: Browse list, Add redirect, Logs, Settings. Items expand on hover from any admin page and highlight correctly when navigating via the in-plugin tab bar.
= 1.2.0 =
- Slug change detection: when a published post, page, or CPT URL changes, an admin notice prompts to add a 301 redirect from the old path with one click. Works with classic editor and Gutenberg REST API saves.
= 1.1.1 =
- Client-side validation blocks saving a redirect when From and To URLs resolve to the same path — red border, error message, and disabled Save button.
= 1.1.0 =
- Added GitHub-based update checker — WordPress now detects new releases automatically.
- Blocked saving redirect rules where the from and to URLs resolve to the same path.
- Added runtime guard to skip any pre-existing self-redirect rules.
= 1.0.2 =
- Added per-rule query parameter and case sensitivity handling.
- Improved imports from 301 Redirects-style CSV files.
- Added selected-rule export support.
= 1.0.1 =
- Added JSON export and refined admin header/control layout.
- Added configurable redirect settings.
= 0.1.0 =
- Initial local build.
Read the full README on GitHub →