alleyinteractive / wp-multisite-flush-rewrites
Flush rewrite rules on a WordPress multisite.
Installs: 863
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
Type:wordpress-plugin
Requires
- php: ^8.2
- alleyinteractive/composer-wordpress-autoloader: ^1.0
- mantle-framework/http-client: ^1.8
- mantle-framework/support: ^1.8
Requires (Dev)
This package is auto-updated.
Last update: 2025-08-28 03:45:51 UTC
README
Flush rewrite rules easily for all sites on a WordPress multisite.
Installation
You can install the package via Composer:
composer require alleyinteractive/wp-multisite-flush-rewrites
Usage
Activate the plugin in WordPress and flush the network's rewrite rules in the Network Admin Panel:
You can also flush the rewrite rules with WP-CLI:
wp multisite-flush-rewrites wp multisite-flush-rewrites --network-id=2
The plugin flushes the rewrite rules for all non-archived sites in a network by
making an admin-ajax.php
request to each site. This ensures that the rewrite
rules are properly refreshed and any changes are applied across the network.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
This project is actively maintained by Alley Interactive. Like what you see? Come work with us.
License
The GNU General Public License (GPL) license. Please see License File for more information.