WordPress plugin to inspect your rewrite rules.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Gary Jones e73b243c19
1.3.1
3 years ago
.github/workflows Add WPORG slug 3 years ago
.wordpress-org Fix banner image filename 3 years ago
src Add PHPCS config file 3 years ago
.editorconfig Add .editorconfig 3 years ago
.gitignore Add PHPCS config file 3 years ago
.phpcs.xml.dist Add PHPCS config file 3 years ago
CHANGELOG.md 1.3.1 3 years ago
LICENSE Create LICENSE 3 years ago
README.md 1.3.1 3 years ago
composer.json Add composer.json support 3 years ago
rewrite-rules-inspector.php 1.3.1 3 years ago

README.md

Rewrite Rules Inspector

Stable tag: 1.3.1
Requires at least: 3.1
Tested up to: 5.7
Requires PHP: 5.6
License: GPLv2 or later
Tags: rewrite rules, tools
Contributors: danielbachhuber, automattic, tmoorewp, GaryJ

A simple admin tool for inspecting rewrite rules.

Description

A simple WordPress admin tool for inspecting 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 clients hosted at WordPress VIP, 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 GitHub issues.

Installation

Install the plugin from within WordPress

  1. Visit the Plugins page from your WordPress dashboard and click "Add New" at the top of the page.
  2. Search for "rewrite-rules-inspector" using the search bar on the right side.
  3. Click "Install Now" to install the plugin.
  4. After it's installed, click "Activate" to activate the plugin on your site.

Install the plugin manually

  1. Download the plugin from WordPress.org or get the latest release from our Github Releases page.
  2. Unzip the downloaded archive.
  3. Upload the entire rewrite-rules-inspector folder to your /wp-content/plugins directory.
  4. Visit the Plugins page from your WordPress dashboard and look for the newly installed plugin.
  5. Click "Activate" to activate the plugin on your site.

Screenshots

  1. See which rewrite rules match a given URL, and the priorities they match in.
    The main screen showing the rewrite rules

  2. An error message appears if rewrite rules are missing in the database
    One rule is highlighted in red as it is missing

Changelog

See the change log.