Internal Rewrite Viewer Plugin for WordPress
This plugin has a very specific purpose - to generate a list of the current rewrite rules that WordPress is using. Unless you are writing WordPress plugins that support permalinks, this plugin will probably not be that useful to you. But if for whatever reason you need to check the rules (for debugging.. troubleshooting..) it will do the job nicely. Only newer versions of WordPress store the rules internally of course. If you have a much older version, the data will simply be in your .htaccess file.
Download
- Latest Release (For WordPress 2.0 through 2.5)
Notice
This plugin will only work if you are using custom permalinks (not the WordPress default), and have allowed WordPress to add the proper code to .htaccess
Instructions
- Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
- Enable the plugin in your WordPress control panel.
- Try it out by going to: http://(your wordpress install)/rewrites/
- NOTE: If that link does not work for you, try this:
http://(your wordpress install)/index.php/rewrites/
The link for usage may vary depending on your permalink configuration.
Example
Take a look at my rewrite page.
How it works
This plugin works by using a rewrite rule to generate a ‘fake’ page for the rewrite viewer. This is really only a call to the index with a new variable passed. When the index page detects this variable, it generates a list of the rules instead of the index page.
Of course for this plugin to work, you must be using permalinks, but if you were not, you would not be using this plugin anyway ![]()


Jump to Comments