Title: Debug Bar Rewrite Rules
Author: Oleg Butuzov
Published: <strong>September 6, 2016</strong>
Last modified: July 6, 2024

---

Search plugins

![](https://ps.w.org/debug-bar-rewrite-rules/assets/banner-772x250.png?rev=1843137)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/debug-bar-rewrite-rules/assets/icon-256x256.png?rev=1843137)

# Debug Bar Rewrite Rules

 By [Oleg Butuzov](https://profiles.wordpress.org/butuzov/)

[Download](https://downloads.wordpress.org/plugin/debug-bar-rewrite-rules.0.6.5.zip)

 * [Details](https://pcd.wordpress.org/plugins/debug-bar-rewrite-rules/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/debug-bar-rewrite-rules/#reviews)
 * [Development](https://pcd.wordpress.org/plugins/debug-bar-rewrite-rules/#developers)

 [Support](https://wordpress.org/support/plugin/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](https://wordpress.org/extend/plugins/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

![](https://secure.gravatar.com/avatar/4cedbca78d5e9004eaecb770baea85601cbc2f3e8ab8000472c3debe38d073dc?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin!](https://wordpress.org/support/topic/amazing-plugin-1703/)󠁿

 [Rasso Hilber](https://profiles.wordpress.org/nonverbla/) December 4, 2020

This plugin makes it so easy to debug and even discover WP rewrite rules. Thanks
a lot!!

![](https://secure.gravatar.com/avatar/81d630fcb9bf029ce670c6ccafdece5d6ba04467bc20f4b937828e1173f9cb90?
s=60&d=retro&r=g)

### 󠀁[Super helpful](https://wordpress.org/support/topic/super-helpful-91/)󠁿

 [ladislavdurchanek](https://profiles.wordpress.org/ladislavdurchanek/) October 
28, 2020

Ability to quickly display all rules that match a URL just saved me a lot of time.

![](https://secure.gravatar.com/avatar/ad2416016ff4e7cf1db402302010a97bd014bcc4bdb48acf5200ae605a6b70f1?
s=60&d=retro&r=g)

### 󠀁[Extremely Useful](https://wordpress.org/support/topic/extremely-useful-136/)󠁿

 [mgfotiades](https://profiles.wordpress.org/mgfotiades/) October 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.

![](https://secure.gravatar.com/avatar/7ef2dbb0e981b5a4e7638ae7aaf8f40f2553de38504ca8f2a33c5485e1c1a8be?
s=60&d=retro&r=g)

### 󠀁[Informative and convenient](https://wordpress.org/support/topic/informative-and-convenient/)󠁿

 [Gleb Kemarsky](https://profiles.wordpress.org/glebkema/) January 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.

![](https://secure.gravatar.com/avatar/698744f644cc210eecfbfdf9ac878362b72f2b5eb65e5e50a531f4daa1802702?
s=60&d=retro&r=g)

### 󠀁[nice tool](https://wordpress.org/support/topic/nice-tool-66/)󠁿

 [miaugav](https://profiles.wordpress.org/miaugav/) March 25, 2018

Really nice tool for working with rewrite_urls array and permalinks customizations.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Oleg Butuzov ](https://profiles.wordpress.org/butuzov/)

“Debug Bar Rewrite Rules” has been translated into 8 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/debug-bar-rewrite-rules/contributors)
for their contributions.

[Translate “Debug Bar Rewrite Rules” into your language.](https://translate.wordpress.org/projects/wp-plugins/debug-bar-rewrite-rules)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/debug-bar-rewrite-rules/),
check out the [SVN repository](https://plugins.svn.wordpress.org/debug-bar-rewrite-rules/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/debug-bar-rewrite-rules/)
by [RSS](https://plugins.trac.wordpress.org/log/debug-bar-rewrite-rules/?limit=100&mode=stop_on_copy&format=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

## Meta

 *  Version **0.6.5**
 *  Last updated **2 years ago**
 *  Active installations **800+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **6.5.8**
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/debug-bar-rewrite-rules/),
   [English (Australia)](https://en-au.wordpress.org/plugins/debug-bar-rewrite-rules/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/debug-bar-rewrite-rules/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/debug-bar-rewrite-rules/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/debug-bar-rewrite-rules/),
   [English (UK)](https://en-gb.wordpress.org/plugins/debug-bar-rewrite-rules/),
   [English (US)](https://wordpress.org/plugins/debug-bar-rewrite-rules/), [Swedish](https://sv.wordpress.org/plugins/debug-bar-rewrite-rules/),
   and [Ukrainian](https://uk.wordpress.org/plugins/debug-bar-rewrite-rules/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/debug-bar-rewrite-rules)
 * Tags
 * [debug](https://pcd.wordpress.org/plugins/tags/debug/)[debug bar](https://pcd.wordpress.org/plugins/tags/debug-bar/)
   [permalinks](https://pcd.wordpress.org/plugins/tags/permalinks/)[rewrite rules](https://pcd.wordpress.org/plugins/tags/rewrite-rules/)
   [testing](https://pcd.wordpress.org/plugins/tags/testing/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/debug-bar-rewrite-rules/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/reviews/)

## Contributors

 *   [ Oleg Butuzov ](https://profiles.wordpress.org/butuzov/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/debug-bar-rewrite-rules/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://github.com/butuzov/butuzov/blob/main/README.md#user-content-main)