Title: Monkeyman Rewrite Analyzer
Author: Jan Fabry
Published: <strong>2011 年 5 月 12 日</strong>
Last modified: 2011 年 5 月 12 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/monkeyman-rewrite-analyzer.svg)

# Monkeyman Rewrite Analyzer

 作者：[Jan Fabry](https://profiles.wordpress.org/janfabry/)

[下载](https://downloads.wordpress.org/plugin/monkeyman-rewrite-analyzer.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/)

## 描述

This is a tool to understand your rewrite rules (“Pretty Permalinks”). It is indispensable
if you are adding or modifying rules and want to understand how they work (or why
they don’t work).

It is only an analyzer, it does not change any rules for you. It parses the rules
down to their components and shows the connection with the resulting query variables.
It allows you to try out different URLs to see which rules will match and what the
value of the different query variables will be (see screenshots).

This plugin was written as a tool to help answering questions about rewrite rules
on [the WordPress Stack Exchange](http://wordpress.stackexchange.com/).

## 屏幕截图

[⌊Display all rewrite rules and highlight captured URL parts and ignored query variables⌉⌊
Display all rewrite rules and highlight captured URL parts and ignored query variables⌉[

Display all rewrite rules and highlight captured URL parts and ignored query variables

[⌊Test URLs and see matching rules with the resulting query variables⌉⌊Test URLs
and see matching rules with the resulting query variables⌉[

Test URLs and see matching rules with the resulting query variables

## 安装

Install via the normal way: either by uploading the unzipped file to your plugin
directory, or directly via the plugin installer.

An extra item will be added to the “Tools” menu, visible if you are an administrator.

## 常见问题

  My new rules aren’t displayed!

Did you flush the rules? You can do this in your code, or by visiting the “Permalinks”
settings page.

  Can you help me with my rewrite rules?

Maybe. I’m active on [the WordPress Stack Exchange](http://wordpress.stackexchange.com/),
where you can find many intelligent and friendly WordPress experts willing to answer
your questions.

## 评价

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

### 󠀁[Simple but very helpful](https://wordpress.org/support/topic/simple-but-very-helpful-4/)󠁿

 [ciceronepavaloi](https://profiles.wordpress.org/ciceronepavaloi/) 2023 年 11 月
22 日

Thanks, it helped me clarify what I was doing wrong. 🙂

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

### 󠀁[Good plugins !](https://wordpress.org/support/topic/good-plugins-70/)󠁿

 [M.Code](https://profiles.wordpress.org/devloper00/) 2022 年 1 月 17 日

This plugin is really useful for specific needs. But unfortunately not maintained
anymore… =/ If someone need and update version of this check this out : https://
wordpress.org/plugin/url-rewrite-analyzer Features: – Nice and clean interface –
Remove all PHP warning / notices – Update code structure – Compatible with latest
WP Version – Light / Old / Dark UI

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

### 󠀁[Incredibly useful plugin](https://wordpress.org/support/topic/incredibly-useful-plugin-10/)󠁿

 [jamieschmid](https://profiles.wordpress.org/jamieschmid/) 2020 年 6 月 29 日

Still an incredibly useful plugin after all these years. Confirming it works on 
5.4.2 with blocks enabled also! I needed it to help make sense of some complex rewrites
critical to our AWS load balancer distribution, this plugin was integral in my troubleshooting.
It also helped me identify ways to simplify and get rid of superfluous rules being
added from all over (manual rules, Redirection, other plugins etc). I'd like to 
see the owner update this so more people will know it's safe to use. Or if it's 
abandoned, someone take it over! This is a great developer resource that's probably
being overlooked.

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

### 󠀁[Works also with WP 5.3.2](https://wordpress.org/support/topic/works-also-with-wp-5-3-2/)󠁿

 [mumbomedia](https://profiles.wordpress.org/mumbomedia/) 2020 年 1 月 17 日

Very easy to use. Although supposedly not tested under 5.3.2, it works flawlessly
under it. A must-have for any WordPress developer

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

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-5864/)󠁿

 [Kane G](https://profiles.wordpress.org/second2none/) 2019 年 5 月 30 日

Helped me sort some issues with the rewrite rules when developing a plugin. Works
fine with WordPress 5.2 and does what you need it too.

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

### 󠀁[STILL working after all these years](https://wordpress.org/support/topic/still-working-after-all-these-years/)󠁿

 [Natacha](https://profiles.wordpress.org/chickwithbob/) 2019 年 2 月 4 日

Confirmed to still work 8 years later in 2019! – WordPress 5.04 A super handy little
tool to test the custom permalinks mess that can be created when adding custom rewrite
rules. Really handy if you are generating dynamic (virtual) pages and URLs on the
fly!

 [ 阅读所有26条评价 ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Jan Fabry ](https://profiles.wordpress.org/janfabry/)

[帮助将「Monkeyman Rewrite Analyzer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/monkeyman-rewrite-analyzer)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * First WP.org plugin repository release
 * Further code cleanup

#### 0.5

 * Code cleanup
 * Added URL checker

#### 0.2

 * Highlight non-public query vars
 * Highlight regex repeating groups

#### 0.1

 * First version, mostly a test of my regex parsing skills

## 额外信息

 *  版本 **1.0**
 *  最后更新：**15 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/monkeyman-rewrite-analyzer/)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[development](https://cn.wordpress.org/plugins/tags/development/)
   [mod_rewrite](https://cn.wordpress.org/plugins/tags/mod_rewrite/)[permalinks](https://cn.wordpress.org/plugins/tags/permalinks/)
   [rewrite](https://cn.wordpress.org/plugins/tags/rewrite/)
 *  [高级视图](https://cn.wordpress.org/plugins/monkeyman-rewrite-analyzer/advanced/)

## 评级

 5 星（最高 5 星）。

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

[您的评价](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/)

## 贡献者

 *   [ Jan Fabry ](https://profiles.wordpress.org/janfabry/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/)