Title: Slug Trace
Author: Milap
Published: <strong>2026 年 3 月 23 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜索插件

![](https://ps.w.org/slugtrace/assets/banner-772x250.png?rev=3489172)

![](https://ps.w.org/slugtrace/assets/icon-256x256.png?rev=3489172)

# Slug Trace

 作者：[Milap](https://profiles.wordpress.org/milap/)

[下载](https://downloads.wordpress.org/plugin/slugtrace.1.0.zip)

[实时预览](https://cn.wordpress.org/plugins/slugtrace/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/slugtrace/#description)
 * [评价](https://cn.wordpress.org/plugins/slugtrace/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/slugtrace/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/slugtrace/#developers)

 [支持](https://wordpress.org/support/plugin/slugtrace/)

## 描述

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](https://wordpress.org/plugins/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](https://wordpress.org/plugins/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](https://wordpress.org/plugins/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](https://wordpress.org/plugins/facebook-pagelike-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_slug` meta keys for maximum compatibility.

## 屏幕截图

 * [[
 * The Slug History meta box appearing in the editor sidebar, displaying previous
   URLs.

## 安装

 1. Upload the `slugtrace` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Open any editor (Post, Page, or CPT) and look for the “Slug History” box in the
    sidebar.

## 常见问题

### Does this plugin create redirects?

No. WordPress handles the actual redirection. This plugin ensures the history is
recorded and makes it visible to you.

### Does it support WooCommerce?

Yes! It will automatically show slug history for Products and other public custom
post types.

### Can I delete old slugs with this?

This version is “view-only” to keep it safe and lightweight.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Slug Trace」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Milap ](https://profiles.wordpress.org/milap/)

[帮助将「Slug Trace」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/slugtrace)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/slugtrace/)，查看[SVN仓库](https://plugins.svn.wordpress.org/slugtrace/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/slugtrace/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/slugtrace/)。

## 更新日志

#### 1.0

 * Initial release with universal slug tracking for Posts, Pages, and other public
   Custom Post Types.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**7 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/slugtrace/)
 * 标签
 * [history](https://cn.wordpress.org/plugins/tags/history/)[permalink](https://cn.wordpress.org/plugins/tags/permalink/)
   [redirect](https://cn.wordpress.org/plugins/tags/redirect/)[seo](https://cn.wordpress.org/plugins/tags/seo/)
   [slug](https://cn.wordpress.org/plugins/tags/slug/)
 *  [高级视图](https://cn.wordpress.org/plugins/slugtrace/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/slugtrace/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/slugtrace/reviews/)

## 贡献者

 *   [ Milap ](https://profiles.wordpress.org/milap/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/slugtrace/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/MilapPatel)