Debug Bar Rewrite Rules

Description

Debug Bar Rewrite Rules adds information about Rewrite Rules (changed via filters) to a new panel in the Debug Bar. This plugin is an extension for Debug Bar, but it is also can work in standalone mode (as admin tools page). Note: this plugin not able to track add_rewrite_rule function calls, for a reason this function is untraceable.

Once installed, you will have access to the following information:

  • Number of existing rewrite rules
  • List of rewrite rules
  • List of available filter hooks that can affect rewrite rules.
  • List of filters that affects rewrite rules.
  • Ability to search in rules with highlighting matches.
  • Ability to test url and see what rules can be applied to it.
  • Ability to flush rules directly from debug bar panel/tools page.

Screenshots

  • Testing url for matches – show matched rules and actual matches
  • Searching in rules list alongside with filtering and highlighting occurrences
  • Interface of Rewrite Rules Inspector without Debug Bar

Reviews

دسامبر 4, 2020
This plugin makes it so easy to debug and even discover WP rewrite rules. Thanks a lot!!
اوکتوبر 8, 2020
I was setting up rewrite rules for the first time and had set some breakpoints to take a look at the existing rules when I thought, “there must be a plugin for this.” And there was. Not only does it let you examine the existing rules, but you can also test urls to determine which rules match and the resulting query args. I ran into one small issue as a result of some of my debug settings and the developer fixed it and deployed a new version quickly. It’s joined the few plugins in the boilerplate site I use as the starting point for new sites. Thanks, Oleg.
ژانویه 14, 2020
Good visual presentation of data. There is more information and it is more conveniently organized than in the Rewrite Rules Inspector, for example. Automatically integrates into the Debug Bar, if installed.
مارس 25, 2018
Really nice tool for working with rewrite_urls array and permalinks customizations.
Read all 5 reviews

Contributors & Developers

“Debug Bar Rewrite Rules” is open source software. The following people have contributed to this plugin.

Contributors

“Debug Bar Rewrite Rules” has been translated into 8 locales. Thank you to the translators for their contributions.

Translate “Debug Bar Rewrite Rules” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.6.5

  • [bugfix] – php8.0 compatible call_user_func_array calls.

0.6

  • [general] – way assets appear on a page changed.
  • [bug] – Fixed: warning on private static var
  • [bug] – Fixed: admin page https://github.com/butuzov/Debug-Bar-Rewrite-Rules/issues/2
  • [bug] – Fixed: domain field https://github.com/butuzov/Debug-Bar-Rewrite-Rules/issues/3
  • [general] – added Makefile to simplify development

0.5

  • [minor changes] – Localization Changes.
  • [improvement] – New Icon (for wordpress.org) and tags.
  • [code refactoring] – Minor code changes.

0.4

  • [improvement] – Added track for PHP __invoke methods (callable objects)
  • [bugfix] – Added fix for plugin loaded via symlinks
  • [code refactoring] – Code of PHP and JS refactored.

0.3

  • [ui] UI Change – Domain input box width calculated with JS
  • [bugfix] – e.preventDefault()
  • [bugfix] – Double check for empty array in filters UI

0.2

  • Code refactored from version 0.1

0.1

  • Non Public Release