R
Utilities Free WordPress.org

Rewrite Rules Inspector

5.0 (26 reviews)
· 10K+ active installs · By Automattic
Active Installs
10K+
Rating
5.0 / 5
Version
v1.6.0
Last Updated
Jan 2026
Share

Plugin Review

AI-Researched

What is Rewrite Rules Inspector?

Rewrite Rules Inspector is a free utility plugin developed by Automattic, the company behind WordPress.com. It has been available for 14 years, making it one of the most mature tools for managing URL routing. The plugin currently holds 5.0/5 stars from 26 ratings, with 96% of those being five-star reviews and 0% one-star ratings. It serves 10K+ active installs.

This tool lets you see every rewrite rule on your site and test how specific URLs resolve. It was last updated on Jan 6, 2026 to version 1.6.0. Developers and site owners use it to debug 404 errors, verify custom post type URLs, and understand which plugin or theme is generating a particular rule.

Key Features of Rewrite Rules Inspector

  • Complete Rule Listing — View every rewrite rule your site uses, sorted by match priority and source.
  • URL Tester — Enter any full URL or path to see exactly which rule matches first, plus all matching rules in priority order.
  • Query Variable Inspector — After testing a URL, examine the extracted query variables and the final query WordPress would execute.
  • Permastruct Browser — Browse a table of all known permastructs, including their structure patterns and human-readable descriptions.
  • Soft Flush Button — Regenerate all rewrite rules with a single click, including security checks and cache clearing.
  • Missing Rule Detection — Rules marked with a red background indicate they are missing from the database and need a flush.
  • Subdirectory Support — The URL tester automatically handles sites installed in a subdirectory, accepting both full URLs and relative paths.
  • Source Filtering — Filter the rule list by source, such as custom post types, taxonomies, or plugins.

Who Should Use Rewrite Rules Inspector?

This plugin is for anyone who manages a WordPress site with custom permalinks. It suits developers debugging custom post type URLs, site owners who change permalink structures, and support staff diagnosing 404 errors. With 10K+ installations, it is the go-to tool for understanding how to see rewrite rules in WordPress.

If you have ever asked "how to see rewrite rules in WordPress" after a plugin update broke your URLs, this tool answers that question directly. It is also the best rewrite rules plugin WordPress users can install for free, as it provides both inspection and a safe flush mechanism. The interface lives under Tools → Rewrite Rules, making it accessible to anyone comfortable with the WordPress admin panel.

Installation & Setup

Install the plugin from within WordPress by going to Plugins → Add New and searching for "rewrite-rules-inspector". After activation, navigate to Tools → Rewrite Rules to see your full rule list. No configuration is needed — the plugin works immediately and is beginner-friendly.

Support & Community

Rewrite Rules Inspector is developed openly on GitHub, where pull requests and bug reports are welcome. The plugin has 96% five-star ratings from 26 total reviews, reflecting consistent reliability. The support forum shows open threads over the last two months, indicating the plugin requires minimal troubleshooting for most users.

Because Automattic maintains the plugin, updates arrive regularly — the most recent was Jan 6, 2026 for version 1.6.0. The combination of a 14-year track record and near-perfect ratings makes this the standard tool to inspect rewrite rules WordPress administrators rely on.

Pros & Cons

What's Good
  • With 10K+ active installs and a 5.0 rating from 26 ratings (96% five-star), it is a highly trusted debugging tool for developers.
  • Its URL tester shows all matching rewrite rules in priority order, revealing exactly which rule WordPress would use and the resulting query variables.
  • The permastructs table lists every registered permastruct (e.g., for posts, taxonomies, authors) with its structure pattern and description for easy reference.
  • The flush button regenerates rules via `flush_rewrite_rules(false)` after clearing the cached rewrite rules, confirming exactly what happens under the hood.
  • With support threads and a resolution rate, the plugin relies on GitHub issues for feedback rather than the WordPress forum.
Drawbacks
  • The plugin only works for administrators with the `manage_options` capability, excluding editors or other roles from inspecting rewrite rules.
  • It does not allow editing or deleting individual rewrite rules directly from the interface—only inspection and a full flush.
  • The tool provides no visual graph or diagram of rule matching logic, relying solely on text-based lists and tables.

Technical Details

Requires WordPress
6.4+
Requires PHP
7.4+
Tested up to WP
6.9.5
First Released
2012 (14+ years)
Support (last 2 months)
0 threads

Feature Tags

rewrite-rules tools

Frequently Asked Questions