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)

[Live Preview](https://zh-hk.wordpress.org/plugins/slugtrace/?preview=1)

 * [詳情](https://zh-hk.wordpress.org/plugins/slugtrace/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/slugtrace/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/slugtrace/#installation)
 * [開發](https://zh-hk.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.⌉⌊The Slug History meta box appearing in the editor sidebar, displaying previous
URLs.⌉[

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.

## 評價

There are no reviews for this plugin.

## 貢獻者及開發者

“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.

## 其它

 *  Version **1.0**
 *  Last updated **4 週之前**
 *  Active installations **少於10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/slugtrace/)
 * Tags
 * [history](https://zh-hk.wordpress.org/plugins/tags/history/)[permalink](https://zh-hk.wordpress.org/plugins/tags/permalink/)
   [redirect](https://zh-hk.wordpress.org/plugins/tags/redirect/)[seo](https://zh-hk.wordpress.org/plugins/tags/seo/)
   [slug](https://zh-hk.wordpress.org/plugins/tags/slug/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/slugtrace/advanced/)

## 評分

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/slugtrace/reviews/)

## 貢獻者

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

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/slugtrace/)

## 捐贈

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.me/MilapPatel)