
Expose the hidden "old slugs" WordPress stores and automatically redirects for your Posts, Pages, and all Public Custom Post Types.
| Author: | Milap (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.9.4 |
| Plugin version: | 1.0 |
| Added to WordPress repository: | 23-03-2026 |
| Last updated: | 23-03-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://patelmilap.wordpress.com/ |
| Total downloads: | 63 |
![]() Click to start download |
|
Did you know that every time you change a URL (slug), WordPress remembers the old one? It stores these in your database and automatically performs a 301 redirect to the new URL.
However, WordPress core has two major flaws:
1. It provides no way to see this history in the admin dashboard.
2. It often fails to record history for hierarchical Pages and certain Custom Post Types.
Slug Trace bridges this gap. It provides a simple, elegant interface to see every previous URL a post, page, or product has ever had. It also includes a “Universal Tracker” that forces WordPress to remember slug changes for Pages and Custom Post Types that are usually ignored by core.
- Universal Support: Works with Posts, Pages, and any public Custom Post Type (CPT) like WooCommerce Products, Portfolio items, and more.
- View Hidden Redirects: Instantly see which old URLs are still pointing to your current content.
- The “Page Fix”: Adds a custom engine to ensure WordPress actually records slug history for hierarchical Pages—a feature missing from standard WordPress.
- SEO Audit Tool: Perfect for checking if old backlinks are being redirected correctly after a site restructure.
- Ultra-Lightweight: Written in clean, optimized PHP. No extra database tables and zero impact on site performance.
Recommended Plugins
The following plugins are recommended for users:
-
WP Power Cache – A high-performance static page caching engine that generates HTML snapshots of your WordPress site for near-instant loading times.
-
Ultimate Twitter Feeds – A lightweight plugin to display Twitter feeds. Fetch profiles, lists, or single tweets with customizable size, language and theme.
-
Calculate Page Execution Time – Track page execution time easily. Just activate and view page source to see the loading time at the bottom. No configuration needed for WordPress.
-
Facebook Page Feeds Widget – With Facebook Page Feeds Widget, you can display your Facebook Page feeds on your website quickly.
Features
- Dynamic Detection: Automatically detects all public post types on your site.
- Automatic Recording: Starts tracking Page and CPT slug changes the moment you activate it.
- Clean UI: No cluttered settings pages. It integrates natively into the Gutenberg (Block Editor) and Classic Editor sidebars.
- Developer Friendly: Uses native
_wp_old_slugmeta keys for maximum compatibility.
Screenshots
FAQ
ChangeLog

