A tool to analyze rewrite rules? [closed]

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!

1

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.

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

Test URLs and see matching rules with the resulting query variables

You can find it in the plugin repository, or just as Monkeyman Rewrite Analyzer when search for new plugins in your administration screen.

Leave a Comment