Is there a good tool to analyze my rewrite rules? I always get confused with the regexes and the parameter replacements.
I have created something myself and will post it here so others can use it, but please feel free to add other tools!
Well what a coincidence that you ask this, Jan! Just today I had time on a long train journey and decided to write a Rewrite Analyzer plugin, one that parses your rewrite rules and highlights the query variables. You can test URLs right there and see what query variables will be set.
You can find it in the plugin repository, or just as Monkeyman Rewrite Analyzer when search for new plugins in your administration screen.
$wp_query
object and you will have a hard time accessing them later.
Commented
Jun 24, 2011 at 11:13
WP::parse_request()
. It is part of a larger effort to understand and maybe even improve the documentation of the rewrite engine.