Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Monkeyman Rewrite Analyzer

Descrizione

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.

Screenshot (schermate di esempio)

  • Display all rewrite rules and highlight captured URL parts and ignored query variables
  • Test URLs and see matching rules with the resulting query variables

Installazione

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.

FAQ

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, where you can find many intelligent and friendly WordPress experts willing to answer your questions.

Recensioni

30 Maggio 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.
4 Febbraio 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!
27 Luglio 2017
Throws a warning if WP_DEBUG is on, other than that still a very handy tool to check your rewrite rules.
3 Settembre 2016
Using the plugin with WordPress 4.4.2 works great. It's perfect, simple.
Leggi tutte le recensioni di 22

Crediti e riconoscimenti

“Monkeyman Rewrite Analyzer” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Monkeyman Rewrite Analyzer” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

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