Rewrite Rule Testing
This plugin provides a simple interface for testing your custom rewrite rules.
Envisager une alternative
Rewrite Rule Testing shows warning signs in 2026 — compare the alternatives below before installing. It runs on 300+ sites, is rated 5/5 and was last updated 13 years ago, and scores 33/100 on our health check.
- Momentum — downloads up 56.2% vs the previous 30 days
- Petite base d'utilisateurs (plus de 300 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 12 ans
- Uniquement testé jusqu'à WordPress3,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
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 Rule Testing stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| Permalinks | >100 |
| rewrite rules | >100 |
| essai | >100 |
| tests | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 2 avis
About Rewrite Rule Testing
From the official readme · v0.1.1Description
This plugin provides a simple interface for testing your custom rewrite rules.
The purpose of this plugin is to be able to test your own rewrite rules, so
you’re probably most interested in knowing how to do that, right? The plugin
provides a filter, rewrite_testing_tests to add your own tests. That filter
passes an associative array of name => tests. The tests array is an associative
array of URI => expected match. In the outer array, the “name” is arbitrary and
for your own reference. In the inner array, the “URI” is the path you want to
test, and the “expected match” is what WordPress should find as a rewrite
match.
Enough chit-chat, here’s an example:
function my_rewrite_tests( $tests ) {
return array(
'Events' => array(
'/event/super-bowl/' => 'index.php?event=$matches[1]',
'/event/super-bowl/page/2/' => 'index.php?event=$matches[1]&paged=$matches[2]'
)
);
}
add_filter( 'rewrite_testing_tests', 'my_rewrite_tests' );
You can see the test_cases() method for a full suite of tests for the “Day
and Name” permalink structure. It’s not necessary to leave these in (in fact,
the above demo would wipe them out), unless you want to make sure that your
custom rewrites aren’t affecting core rewrites. If you aren’t using “Day and
Name” permalinks, you’ll need to adjust the tests to fit your permalink
structure.
Todo
- Add a debug bar extension which reads a transient; the transient would be
updated whenever rewrite rules are flushed. The debug bar extension would
show pass/fail status and link directly to the settings page. - Add tests for other permalink structures?
- Add a way to run this as part of phpunit
Installation
- Upload to the /wp-content/plugins/ directory
- Activez le plugin via le menu « Plugins » dans WordPress
- Go to Tools → Rewrite Testing
Journal de modifications
0.1.1
Cosmetic updates
0.1
Initial release. Enjoy!
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.
Best Rewrite Rule Testing alternatives
All permalinks plugins →FAQ
Rewrite Rule Testing: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Rewrite Rule Testing free?
Yes. Rewrite Rule Testing is free to download and use from the official WordPress.org plugin directory.
Is Rewrite Rule Testing safe to use in 2026?
Rewrite Rule Testing shows warning signs in 2026 — compare the alternatives below before installing. It runs on 300+ sites, is rated 5/5 and was last updated 13 years ago, and scores 33/100 on our health check.
How many websites use Rewrite Rule Testing?
Rewrite Rule Testing is active on 300+ WordPress websites and has been downloaded 37,371 times since it launched in May 2014. It was downloaded 2,278 times in the last 30 days.
Does Rewrite Rule Testing work with WordPress 7.1?
Rewrite Rule Testing is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Rewrite Rule Testing last updated?
The latest version, 0.1.1, was released on May 20, 2014 (13 years ago).
Who makes Rewrite Rule Testing?
Rewrite Rule Testing is developed and maintained by Matthew Boynes.
What are the best alternatives to Rewrite Rule Testing?
The most popular alternatives to Rewrite Rule Testing are Nginx Helper (200K+ installs), Permalink Manager Lite (100K+ installs) and Remove Category URL (40K+ 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


