Rewrite Rules Inspector

Description

A straightforward WordPress admin tool for inspecting your rewrite rules. View a listing of all your rewrite rules, see which rewrite rules match a given URL (and the priorites they match in), or filter by different sources of rewrite rules. Perform a soft flush of your rewrite rules to regenerate them.

Originally developed for WordPress.com VIP-hosted clients, we thought it would be useful for development environments, etc. too. Feel free to fork the plugin in Github — pull requests are always welcome. Hit us with feedback, questions, bug reports, and feature requests in the forums.

Screenshots

  • See which rewrite rules match a given URL (and the priorites they match in)
  • Error message appears if rewrite rules are missing in the database

Reviews

Great tool!

Love the plugin but noticed today, whilst debugging a new plugin I’m writting, that the plugin still uses the depreciated functions: screen_icon() and get_screen_icon().

Both have gone depreciated since 3.8.0 so I reckon a minor update to avoid these errors from popping up in the debug mode is worth the effort 🙂

The fix – with backwards compatibility (do we need that?) – would be to change:
<?php screen_icon( 'tools' ); ?>
into:
<?php if ( function_exists('screen_icon') ) screen_icon( 'tools' ); ?>

___

(!) Notice: screen_icon is deprecated since version 3.8.0 with no alternative available.
(!) Notice: get_screen_icon is deprecated since version 3.8.0 with no alternative available.
Location ..\rewrite-rules-inspector.php:208

Read all 23 reviews

Contributors & Developers

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

Contributors

Changelog

1.2.1 (Sept. 19, 2013)

  • Fix for strict standards error in declaration of Rewrite_Rules_Inspector_List_Table::single_row(). props @simonhampel

1.2 (Jan. 16, 2013)

  • Modify the rewrite rule source with a filter. Props jeremyfelt

1.1 (Sept. 25, 2012)

  • Support for route matching when WordPress lives in a subdirectory. Props dbernar1
  • Display a success message after you’ve flushed your rewrite rules

1.0 (May 9, 2012)

  • Initial public release!
  • View a listing of all your rewrite rules
  • See which rewrite rules match a given URL (and the priorites they match in)
  • Filter by different sources of rewrite rules
  • Error message appears if rewrite rules are missing in the database