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 re’sulting 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.
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 administr’ator.
- 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.
Contributors & Developers
“Monkeyman Rewrite Analyzer” is open source software. The following people have contributed to this plugin.Contributors
Translate “Monkeyman Rewrite Analyzer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- First WP.org plugin repository release
- Further code cleanup
- Code cleanup
- Added URL checker
- Highlight non-public query vars
- Highlight regex repeating groups
- First version, mostly a test of my regex parsing skills