{"id":291622,"date":"2026-03-23T15:29:00","date_gmt":"2026-03-23T15:29:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/slug-memory-viewer\/"},"modified":"2026-03-23T17:25:08","modified_gmt":"2026-03-23T17:25:08","slug":"slugtrace","status":"publish","type":"plugin","link":"https:\/\/yor.wordpress.org\/plugins\/slugtrace\/","author":8080594,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Slug Trace","header_author":"Milap","header_description":"Displays a history of previous URLs for the current Posts, Pages and Custom Post Types.","assets_banners_color":"bacad3","last_updated":"2026-03-23 17:25:08","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/MilapPatel","header_plugin_uri":"https:\/\/patelmilap.wordpress.com\/","header_author_uri":"https:\/\/youtube.com\/c\/codecanvas","rating":0,"author_block_rating":0,"active_installs":0,"downloads":74,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Milap","date":"2026-03-23 17:25:08"}},"upgrade_notice":{"":"<ul>\n<li>Not Applicable.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3489172,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3489172,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3489286,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"description\":\"SlugTrace Demonstration: View URL History for Pages.\",\"landingPage\":\"\\\/wp-admin\\\/post.php?post=2&action=edit\",\"steps\":[{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"slugtrace\"},\"options\":{\"activate\":true}},{\"step\":\"activatePlugin\",\"pluginPath\":\"slugtrace\\\/slugtrace.php\"},{\"step\":\"setSiteOptions\",\"options\":{\"permalink_structure\":\"\\\/%postname%\\\/\"}},{\"step\":\"runPHP\",\"code\":\"<?php \\\/\\\/ Set up a page with slug history for the demo.\\ninclude 'wp-load.php';\\n\\n\\\/\\\/ 1. Create the page (Published)\\n$page_id = wp_insert_post( array(\\n\\t'post_title'   => 'About SlugTrace Demo',\\n\\t'post_name'    => 'slugtrace-demo-old',\\n\\t'post_content' => 'This page has a hidden redirect history.',\\n\\t'post_status'  => 'publish',\\n\\t'post_type'    => 'page'\\n) );\\n\\n\\\/\\\/ 2. Change the slug to trigger the history mechanism\\n\\\/\\\/ The 'post_updated' hook in SlugTrace will catch this.\\nwp_update_post( array(\\n\\t'ID'        => $page_id,\\n\\t'post_name' => 'slugtrace-demo-current'\\n) );\\n?>\"}]}"}},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3489286,"resolution":"1","location":"plugin"}},"screenshots":{"1":"The Slug History meta box appearing in the editor sidebar, displaying previous URLs."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1433,2662,727,186,561],"plugin_category":[55],"plugin_contributors":[78138],"plugin_business_model":[],"class_list":["post-291622","plugin","type-plugin","status-publish","hentry","plugin_tags-history","plugin_tags-permalink","plugin_tags-redirect","plugin_tags-seo","plugin_tags-slug","plugin_category-seo-and-marketing","plugin_contributors-milap","plugin_committers-imneerav","plugin_committers-milap"],"banners":{"banner":"https:\/\/ps.w.org\/slugtrace\/assets\/banner-772x250.png?rev=3489172","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/slugtrace\/assets\/icon-256x256.png?rev=3489172","icon_2x":"https:\/\/ps.w.org\/slugtrace\/assets\/icon-256x256.png?rev=3489172","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/slugtrace\/trunk\/screenshot-1.png?rev=3489286","caption":"The Slug History meta box appearing in the editor sidebar, displaying previous URLs."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>However, WordPress core has two major flaws:\n1. It provides no way to see this history in the admin dashboard.\n2. It often fails to record history for hierarchical Pages and certain Custom Post Types.<\/p>\n\n<p><strong>Slug Trace<\/strong> 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.<\/p>\n\n<ul>\n<li><strong>Universal Support:<\/strong> Works with Posts, Pages, and any public Custom Post Type (CPT) like WooCommerce Products, Portfolio items, and more.<\/li>\n<li><strong>View Hidden Redirects:<\/strong> Instantly see which old URLs are still pointing to your current content.<\/li>\n<li><strong>The \"Page Fix\":<\/strong> Adds a custom engine to ensure WordPress actually records slug history for hierarchical Pages\u2014a feature missing from standard WordPress.<\/li>\n<li><strong>SEO Audit Tool:<\/strong> Perfect for checking if old backlinks are being redirected correctly after a site restructure.<\/li>\n<li><strong>Ultra-Lightweight:<\/strong> Written in clean, optimized PHP. No extra database tables and zero impact on site performance.<\/li>\n<\/ul>\n\n<h4>Recommended Plugins<\/h4>\n\n<p>The following plugins are recommended for users:<\/p>\n\n<ul>\n<li><p><a href=\"https:\/\/wordpress.org\/plugins\/wp-power-cache\/\">WP Power Cache<\/a> - A high-performance static page caching engine that generates HTML snapshots of your WordPress site for near-instant loading times.<\/p><\/li>\n<li><p><a href=\"https:\/\/wordpress.org\/plugins\/ultimate-twitter-feeds\/\">Ultimate Twitter Feeds<\/a> - A lightweight plugin to display Twitter feeds. Fetch profiles, lists, or single tweets with customizable size, language and theme.<\/p><\/li>\n<li><p><a href=\"https:\/\/wordpress.org\/plugins\/calculate-page-execution-time\/\">Calculate Page Execution Time<\/a> - Track page execution time easily. Just activate and view page source to see the loading time at the bottom. No configuration needed for WordPress.<\/p><\/li>\n<li><p><a href=\"https:\/\/wordpress.org\/plugins\/facebook-pagelike-widget\/\">Facebook Page Feeds Widget<\/a> - With Facebook Page Feeds Widget, you can display your Facebook Page feeds on your website quickly.<\/p><\/li>\n<\/ul>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Dynamic Detection:<\/strong> Automatically detects all public post types on your site.<\/li>\n<li><strong>Automatic Recording:<\/strong> Starts tracking Page and CPT slug changes the moment you activate it.<\/li>\n<li><strong>Clean UI:<\/strong> No cluttered settings pages. It integrates natively into the Gutenberg (Block Editor) and Classic Editor sidebars.<\/li>\n<li><strong>Developer Friendly:<\/strong> Uses native <code>_wp_old_slug<\/code> meta keys for maximum compatibility.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>slugtrace<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Open any editor (Post, Page, or CPT) and look for the \"Slug History\" box in the sidebar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20create%20redirects%3F\"><h3>Does this plugin create redirects?<\/h3><\/dt>\n<dd><p>No. WordPress handles the actual redirection. This plugin ensures the history is recorded and makes it visible to you.<\/p><\/dd>\n<dt id=\"does%20it%20support%20woocommerce%3F\"><h3>Does it support WooCommerce?<\/h3><\/dt>\n<dd><p>Yes! It will automatically show slug history for Products and other public custom post types.<\/p><\/dd>\n<dt id=\"can%20i%20delete%20old%20slugs%20with%20this%3F\"><h3>Can I delete old slugs with this?<\/h3><\/dt>\n<dd><p>This version is \"view-only\" to keep it safe and lightweight.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release with universal slug tracking for Posts, Pages, and other public Custom Post Types.<\/li>\n<\/ul>","raw_excerpt":"Expose the hidden &quot;old slugs&quot; WordPress stores and automatically redirects for your Posts, Pages, and all Public Custom Post Types.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/291622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=291622"}],"author":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/milap"}],"wp:attachment":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=291622"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=291622"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=291622"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=291622"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=291622"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=291622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}