Title: Monkeyman Rewrite Analyzer
Author: Jan Fabry
Published: <strong>12 de maig de 2011</strong>
Last modified: 12 de maig de 2011

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Monkeyman Rewrite Analyzer

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

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

 * [Detalls](https://ca.wordpress.org/plugins/monkeyman-rewrite-analyzer/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/monkeyman-rewrite-analyzer/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/monkeyman-rewrite-analyzer/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/monkeyman-rewrite-analyzer/#developers)

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

## Descripció

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/).

## Captures

[⌊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

## Instal·lació

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.

## PMF

  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.

## Ressenyes

![](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/) 22 de novembre
de 2023

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/) 17 de gener de 2022

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/) 29 de juny de 2020

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/) 17 de gener de 2020

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/) 30 de maig de 2019

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/) 4 de febrer de 2019

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!

 [ Llegiu totes les 26 ressenyes ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/)

## Col·laboradors i desenvolupadors

«Monkeyman Rewrite Analyzer» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

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

[Traduïu «Monkeyman Rewrite Analyzer» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/monkeyman-rewrite-analyzer)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/monkeyman-rewrite-analyzer/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/monkeyman-rewrite-analyzer/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/monkeyman-rewrite-analyzer/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/monkeyman-rewrite-analyzer/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

## Meta

 *  Versió **1.0**
 *  Darrera actualització **fa 15 anys**
 *  Instal·lacions actives **2.000+**
 *  Versió del WordPress ** 3.0 o posterior **
 *  Provada fins a **3.2.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/monkeyman-rewrite-analyzer/)
 * Etiquetes
 * [debug](https://ca.wordpress.org/plugins/tags/debug/)[development](https://ca.wordpress.org/plugins/tags/development/)
   [mod_rewrite](https://ca.wordpress.org/plugins/tags/mod_rewrite/)[permalinks](https://ca.wordpress.org/plugins/tags/permalinks/)
   [rewrite](https://ca.wordpress.org/plugins/tags/rewrite/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/monkeyman-rewrite-analyzer/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  25 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/?filter=5)
 *  [  1 valoració de 4 estrelles     ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/)