🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Rewrite Rules Inspector icon
Activement maintenu Testé avec WP 7.1 #1 in rewrite rules

Rewrite Rules Inspector

A simple admin tool for inspecting rewrite rules.

Installations actives10K+10 000 +
Téléchargements · 30D17.3K▲ +91.2% vs prev. 30d
Évaluation5/526 avis
Score de santé90/100Excellent
Téléchargements de tous les temps518.1KDepuis mai 2012
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.4PHP 7.4+
Téléchargements · 7j3.1K▲ +5.1% week over week
Notre verdict

Choix

Yes — Rewrite Rules Inspector is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 90/100 on our health check.

  • Prouvé à grande échelle sur plus de 10 000 sites actifs
  • Loved by users — 5/5 from 26 reviews
  • Développé activement — Dernière mise à jour il y a 4 semaines
  • Testé avec le dernier WordPress (7.1)
  • Momentum — downloads up 91.2% vs the previous 30 days

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

8211.6K2.5KSep 5Oct 19Dec 3
Hier505
Moyenne quotidienne (1 ans)234
Jour de pointe3,2869 Novembre 2026
12 Derniers mois85.1K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Rewrite Rules Inspector stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
rewrite rules #1 2,139 Best rewrite rules plugins →
tools #75 10,000 Best tools plugins →

Adoption de version

Part de sites actifs par version.

  • 1.659.5%
  • 1.313.2%
  • 1.212.7%
  • 1.411.6%
  • 1.53.0%

Répartition des notes

★★★★★★★★★★ 5 from 26 reviews

  • 5★96.2%
  • 4★3.8%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Rewrite Rules Inspector

À partir du Lisezmoi officiel · v1.6.1

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 priorities they match in), or filter by different sources of rewrite rules. Perform a soft flush of your rewrite rules to regenerate them.

Developed on GitHub — pull requests are always welcome. Please leave feedback, questions, bug reports, and feature requests in the GitHub issues.

Where to find it

Go to Tools → Rewrite Rules in the WordPress admin.

URL Tester

Quickly test any URL (or path) against your site’s rewrite rules:

  • See whether the URL would be a 404 or which rule would match first (the one WordPress uses).
  • View the list of all matching rules, in match priority order.
  • Inspect the query variables extracted from the match and the resulting final query WordPress would run.

Works with full URLs or paths and automatically handles sites installed in a subdirectory.

Permastructs

Browse a table of all permastructs that WordPress is aware of, including:

  • Name — the permastruct key (e.g. for posts, taxonomies, authors).
  • Structure — the permalink structure pattern used to generate rules.
  • Description — a human-friendly summary of what the permastruct controls.

Flush Rules

The “Flush Rules” button allows you to regenerate your site’s rewrite rules. Here’s exactly what happens when you click it:

What the Flush Rules Button Does

When you click the “Flush Rules” button, the following sequence occurs:

  1. Security Check: The system verifies you have the proper permissions (manage_options capability) and validates the security nonce to prevent unauthorized access.

  2. Cache Clearing: WordPress deletes the cached rewrite rules from the options cache using wp_cache_delete('rewrite_rules', 'options').

  3. Rule Regeneration: WordPress calls flush_rewrite_rules(false) to regenerate all rewrite rules based on:

    • Current permalink structure settings
    • Custom post types and taxonomies
    • Any custom rewrite rules added by themes or plugins
  4. Hook Execution: The rri_flush_rules action hook is fired, allowing other plugins to perform additional cleanup or actions after the flush.

  5. Success Feedback: You’re redirected back to the Rewrite Rules Inspector page with a success message confirming the rules have been flushed.

When to Use Flush Rules

Use the “Flush Rules” button when:

  • Missing Rules: You see rules marked as “missing” (red background) in the inspector
  • Custom URLs Not Working: Your custom permalinks or post type URLs aren’t working properly
  • After Plugin Changes: You’ve activated/deactivated plugins that register custom rewrite rules
  • Permalink Structure Changes: You’ve modified your site’s permalink structure
  • Custom Post Type Issues: New custom post types or taxonomies aren’t generating proper URLs

Notes importantes

  • Soft Flush: This performs a “soft” flush (using flush_rewrite_rules(false)), which is safer than a hard flush as it doesn’t force regeneration of all rules unnecessarily.
  • Permissions Required: Only users with manage_options capability can flush rules.
  • No Data Loss: Flushing rules doesn’t delete any content or settings, it only regenerates the URL routing rules.
  • Immediate Effect: Changes take effect immediately after flushing.

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.

Journal de modifications

Security and bug fix release. Rule downloads now check permissions before doing any work, and URL searches match the path WordPress actually routes, including on sites installed in a subdirectory.

The highlights of recent releases are below. Every change, including older releases, is listed in CHANGELOG.md.

1.6.1

  • Security: Rule downloads now check permissions before doing any work, and the plugin’s files no longer cause errors when requested directly.
  • Fixed: Searching for a URL on a site installed in a subdirectory now tests the right path.
  • Fixed: The rules list and the URL test result now agree on which rules a URL matches.
  • Changed: The inspector page generates the rewrite rules once instead of twice, so it loads faster.

Journal des modifications complet sur WordPress.org →

Captures d'écran

See all of the rewrite rules and flush them or download them.
See all of the rewrite rules and flush them or download them.
Test a URL against the rules to see which one(s) would match, and the priority they would match in.
Test a URL against the rules to see which one(s) would match, and the priority they would…
Limit rules and URL testing results down to specific rule sources.
Limit rules and URL testing results down to specific rule sources.
See which permastructs WordPress knows about.
See which permastructs WordPress knows about.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Rewrite Rules Inspector alternatives

All rewrite rules plugins →

FAQ

Rewrite Rules Inspector: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Rewrite Rules Inspector free?

Yes. Rewrite Rules Inspector is free to download and use from the official WordPress.org plugin directory.

Is Rewrite Rules Inspector safe to use in 2026?

Yes — Rewrite Rules Inspector is a safe, well-maintained plugin to use in 2026. It runs on 10K+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 90/100 on our health check.

How many websites use Rewrite Rules Inspector?

Rewrite Rules Inspector is active on 10K+ WordPress websites and has been downloaded 518,102 times since it launched in May 2012. It was downloaded 17,336 times in the last 30 days.

Does Rewrite Rules Inspector work with WordPress 7.1?

Yes. The developer has tested Rewrite Rules Inspector up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.

What PHP version does Rewrite Rules Inspector need?

Rewrite Rules Inspector requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Rewrite Rules Inspector last updated?

The latest version, 1.6.1, was released on November 8, 2026 (4 weeks ago).

Who makes Rewrite Rules Inspector?

Rewrite Rules Inspector is developed and maintained by Automattic.

What are the best alternatives to Rewrite Rules Inspector?

The most popular alternatives to Rewrite Rules Inspector are Debug Bar Rewrite Rules (600+ installs), WP Permastructure (400+ installs) and Rewrite Rule Testing (300+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir