Flush rewrite rules easily for all sites on a WordPress multisite.
You can install the package via Composer:
composer require alleyinteractive/wp-multisite-flush-rewritesActivate 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=2The 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.
Please see CHANGELOG for more information on what has changed recently.
This project is actively maintained by Alley Interactive. Like what you see? Come work with us.
The GNU General Public License (GPL) license. Please see License File for more information.
