Directory / plugin
Permapilot – Automatic Permalink Refresh
v1.1.0 · by guyargaman
Never re-save Settings → Permalinks again. Fixes 404s on new post types, taxonomies and custom routes automatically.
About this plugin
When a theme or plugin adds or changes a custom post type, a taxonomy, a rewrite rule or an endpoint, WordPress keeps serving its old, cached rewrite rules. The new URLs return 404 until someone goes to Settings Permalinks and clicks Save.
Permapilot does that for you. On every request it compares a lightweight fingerprint of the registered routes with the one the rules were built from. When they differ, it rebuilds the rules once. When nothing changed, it costs one option read and one hash.
It catches:
- New custom post types and taxonomies.
- Changed post type or taxonomy slugs.
- Rules added with
add_rewrite_rule(). - Endpoints added with
add_rewrite_endpoint().
There are no settings. Activate it and forget it.
Permapilot Pro
Renamed a post type or taxonomy slug? Every old URL now leads nowhere. Permapilot Pro sends visitors and search engines from the old URLs to the new ones with permanent (301) redirects, including taxonomy term URLs, which WordPress never redirects on its own.