Title: Remove Taxonomy URL
Author: sungraizfaryad
Published: <strong>2019 年 12 月 14 日</strong>
Last modified: 2026 年 6 月 4 日

---

搜索插件

![](https://ps.w.org/remove-taxonomy-url/assets/banner-772x250.png?rev=3560386)

![](https://ps.w.org/remove-taxonomy-url/assets/icon-256x256.png?rev=3560386)

# Remove Taxonomy URL

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

[下载](https://downloads.wordpress.org/plugin/remove-taxonomy-url.3.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/remove-taxonomy-url/)

## 描述

Remove Taxonomy URL strips the base slug (`/genre/`, `/topic/`, etc.) from your 
custom taxonomy term URLs so visitors and search engines see clean, short permalinks.

**What 3.0 adds:**

 * **301 redirect old URLs** — old `/taxonomy/term/` URLs redirect permanently to
   the new `/term/` URL so SEO equity is preserved when you turn the plugin on.
 * **Hierarchical term URLs** — nested taxonomies resolve correctly. `/parent/child/`
   reaches the child term instead of returning 404.
 * **Pagination support** — `/term/page/2/` works after the base slug is removed,
   no more pagination 404s.
 * **Slug-collision detection** — warns you (without blocking the save) when a term
   slug clashes with a page, post, or another taxonomy’s term, so you don’t accidentally
   break a URL.
 * **Health Check tab** — run a full audit of all selected taxonomies on demand.

All 3.0 features default to OFF on upgrade so your existing site behavior is preserved
until you opt in.

## 屏幕截图

 * [[
 * [[

## 安装

 1. Upload the plugin files to `/wp-content/plugins/remove-taxonomy-url/`, or install
    it through the WordPress plugins screen.
 2. Activate the plugin via the **Plugins** screen.
 3. Visit **Settings  Remove Taxonomy URL** and pick the taxonomies you want stripped
    from URLs.
 4. Save **Settings  Permalinks** twice to flush rewrite rules.

## 常见问题

### I am facing a 404 error page after saving plugin settings?

Save your permalinks twice at **Dashboard  Settings  Permalinks**. WordPress regenerates
rewrite rules on the second save.

### Will my old taxonomy URLs return a 404 after enabling this plugin?

Enable the **301 redirect old URLs** option in **Settings  Remove Taxonomy URL**.
Old `/taxonomy/term/` URLs will redirect to the new `/term/` so search engines and
bookmarks keep working.

### Does it work with nested / hierarchical taxonomies?

Yes — enable the **Hierarchical term URLs** option in 3.0. Nested terms (e.g. `rock/
punk`) resolve correctly.

### What happens if a term slug collides with a page or post slug?

Enable **Conflict detection on save** (default ON). You’ll see a warning when a 
colliding slug is detected. The Health Check tab can audit every selected taxonomy
at once.

### Does this plugin send any telemetry or tracking?

No. No analytics, no remote calls, no tracking.

### Links

 * [GitHub Repository](https://github.com/sungraizfaryad/remove-taxonomy-url)

## 评价

![](https://secure.gravatar.com/avatar/a25a27ef6e7e1858154c3471aed06ccd343a5336da07897195e5693c34551272?
s=60&d=retro&r=g)

### 󠀁[It doesn’t work if taxonomy have more then 1 level](https://wordpress.org/support/topic/it-doesnt-remove-old-url-with-slug/)󠁿

 [covirtek](https://profiles.wordpress.org/covirtek/) 2023 年 11 月 1 日 1 回复

It doesn’t work if taxonomy have more then 1 level

![](https://secure.gravatar.com/avatar/2a4181a55200ade12444be0ef371a9e9acddfd7268d94425a00c88a53b36e10e?
s=60&d=retro&r=g)

### 󠀁[Спасибо!](https://wordpress.org/support/topic/%d1%81%d0%bf%d0%b0%d1%81%d0%b8%d0%b1%d0%be-114/)󠁿

 [fusses](https://profiles.wordpress.org/fusses/) 2022 年 11 月 5 日

Очень сильно помог Очень важен для СЕО Very helpful Very important for SEO

![](https://secure.gravatar.com/avatar/1182b2cccd905ae6c55dc3bbb129207f4148535c1be8f5b7976f7164c000841f?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-1231/)󠁿

 [kraisor](https://profiles.wordpress.org/kraisor/) 2020 年 12 月 27 日

Works fine still, using it with multiple other plugins.

![](https://secure.gravatar.com/avatar/76f2fb6ba94b72223eb05461d85856ce071711bc196e940941f9b71eb3d1d971?
s=60&d=retro&r=g)

### 󠀁[404](https://wordpress.org/support/topic/404-67/)󠁿

 [tarahomi](https://profiles.wordpress.org/tarahomi/) 2020 年 5 月 18 日 1 回复

Even though I did it again. (Search -> Permalinks)

![](https://secure.gravatar.com/avatar/5f1a76d337fa9bdfe3366cc9bea8086febc43719eb778b4031da0ec26c8d6b8a?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-7190/)󠁿

 [melanino](https://profiles.wordpress.org/melanino/) 2020 年 5 月 4 日 1 回复

This plugin is perfect.

![](https://secure.gravatar.com/avatar/d3662313f7d87c4471ff48dc90251f5008b5f9bd1cf3cac1da1950d6e44b8409?
s=60&d=retro&r=g)

### 󠀁[Does exactly what promises](https://wordpress.org/support/topic/does-exactly-what-promises/)󠁿

 [Artneo](https://profiles.wordpress.org/artneo/) 2020 年 3 月 3 日 1 回复

Thank you so much for this plugin! It works just fine and it should have a higher
rating.

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/)

## 贡献者及开发者

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

贡献者

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

[帮助将「Remove Taxonomy URL」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/remove-taxonomy-url)

### 对开发感兴趣吗?

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

## 更新日志

#### 3.1.0

 * New: Hierarchical term URLs now actually resolve. Child terms use their full 
   parent path (/parent/child/) at any depth, backed by explicit rewrite rules; 
   the old flat /child/ URL 301-redirects to the nested one. Previously, turning
   this option on made child terms 404.
 * New: Health Check “Test all term URLs” — requests a sample of your term URLs 
   over a loopback and reports which resolve (200) or fail (404). Catches broken
   term URLs from any cause (hierarchy, stale permalinks, collisions). Falls back
   to an internal check if loopback is blocked.
 * New: Health Check shows current hierarchy status (on/off, child-URL shape, child-
   term count).
 * Improved: every setting now has a plain-language description explaining what 
   it does and when to use it.
 * Improved: settings page shows the plugin version and when permalinks were last
   flushed; saving settings re-flushes automatically.
 * Improved: enabling Hierarchical term URLs shows how many child-term URLs will
   change.

#### 3.0.1

 * Fix: settings checkboxes no longer reset to unchecked after Save. Sanitize now
   stores values in the format expected by the rendering callbacks (slug=>slug array
   for the taxonomy multicheck; ‘on’/” string for feature flags).
 * Fix: hidden companion checkbox field’s literal ‘off’ string is no longer treated
   as “enabled” by the sanitize callback. Feature flags now only enable when explicitly‘
   on’.
 * Migration: existing 3.0.0 installs are normalized from int 0/1 + sequential post_types
   into the new format automatically on first 3.0.1 load — no user action required.
 * Tested up to: 7.0.

#### 3.0.0

 * New: 301 redirect from old /taxonomy/term/ to new /term/ (optional, off by default).
 * New: pagination support for taxonomies with their base slug removed.
 * New: hierarchical term URLs — multi-level parent paths resolve correctly.
 * New: slug-collision detector with on-demand Health Check audit.
 * Improved: term-link rewriting hardened against parent-path over-matching.
 * Improved: orphan/circular term parent chains no longer cause infinite loops.
 * Fix: settings now have a sanitize callback (Plugin Standards section 6).
 * Fix: settings page registration moved from admin_menu to admin_init.
 * Fix: uninstall now removes all plugin options and transients (Plugin Standards
   section 13).
 * Compatibility: tested with PHP 7.4 through 8.3.

#### 1.0.6

 * Test up to WordPress 6.7.2

#### 1.0.5

 * Test upto WordPress 6.4.

#### 1.0.4

 * Test upto WordPress 5.9.1.

#### 1.0.2

 * Test upto WordPress 5.6

#### 1.0.1

 * Test upto WordPress 5.4.1.

#### 1.0.0

 * Initial Version.

## 额外信息

 *  版本 **3.1.0**
 *  最后更新：**4 天前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/remove-taxonomy-url/)
 * 标签
 * [custom taxonomy](https://cn.wordpress.org/plugins/tags/custom-taxonomy/)[permalink](https://cn.wordpress.org/plugins/tags/permalink/)
   [redirect](https://cn.wordpress.org/plugins/tags/redirect/)[slug](https://cn.wordpress.org/plugins/tags/slug/)
   [taxonomy](https://cn.wordpress.org/plugins/tags/taxonomy/)
 *  [高级视图](https://cn.wordpress.org/plugins/remove-taxonomy-url/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/remove-taxonomy-url/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/remove-taxonomy-url/)

## 捐助

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

 [ 捐助此插件 ](https://sungraizfaryad.com/)