PHPackages                             alleyinteractive/wp-multisite-flush-rewrites - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alleyinteractive/wp-multisite-flush-rewrites

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

alleyinteractive/wp-multisite-flush-rewrites
============================================

Flush rewrite rules on a WordPress multisite.

1.0.3(7mo ago)0180.1k↓33.4%[1 PRs](https://github.com/alleyinteractive/wp-multisite-flush-rewrites/pulls)GPL-2.0-or-laterPHPPHP ^8.2CI passing

Since Aug 25Pushed 6mo agoCompare

[ Source](https://github.com/alleyinteractive/wp-multisite-flush-rewrites)[ Packagist](https://packagist.org/packages/alleyinteractive/wp-multisite-flush-rewrites)[ Docs](https://github.com/alleyinteractive/wp-multisite-flush-rewrites)[ RSS](/packages/alleyinteractive-wp-multisite-flush-rewrites/feed)WikiDiscussions develop Synced 1w ago

READMEChangelog (4)Dependencies (8)Versions (8)Used By (0)

WP Multisite Flush Rewrites
===========================

[](#wp-multisite-flush-rewrites)

[![Tests](https://github.com/alleyinteractive/wp-multisite-flush-rewrites/actions/workflows/all-pr-tests.yml/badge.svg?branch=develop)](https://github.com/alleyinteractive/wp-multisite-flush-rewrites/actions/workflows/all-pr-tests.yml)

Flush rewrite rules easily for all sites on a WordPress multisite.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require alleyinteractive/wp-multisite-flush-rewrites
```

Usage
-----

[](#usage)

Activate the plugin in WordPress and flush the network's rewrite rules in the Network Admin Panel:

[![Screenshot of plugin](./screenshots/screenshots.png)](./screenshots/screenshots.png)

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
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

This project is actively maintained by [Alley Interactive](https://github.com/alleyinteractive). Like what you see? [Come work with us](https://alley.com/careers/).

- [Sean Fisher](https://github.com/srtfisher)
- [All Contributors](../../contributors)

License
-------

[](#license)

The GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance65

Regular maintenance activity

Popularity34

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Total

4

Last Release

231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/338d27065b1074f2d66d049d742f22996dd137eef6f91bc8f75350ceee1e8ef2?d=identicon)[srtfisher](/maintainers/srtfisher)

---

Top Contributors

[![srtfisher](https://avatars.githubusercontent.com/u/346399?v=4)](https://github.com/srtfisher "srtfisher (29 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

wordpresswordpress-pluginalleyinteractivewp-multisite-flush-rewrite

###  Code Quality

Static AnalysisRector

### Embed Badge

![Health badge](/badges/alleyinteractive-wp-multisite-flush-rewrites/health.svg)

```
[![Health](https://phpackages.com/badges/alleyinteractive-wp-multisite-flush-rewrites/health.svg)](https://phpackages.com/packages/alleyinteractive-wp-multisite-flush-rewrites)
```

###  Alternatives

[alleyinteractive/feed-consumer

Ingest external feeds and other data sources into WordPress

115.7k](/packages/alleyinteractive-feed-consumer)[alleyinteractive/wp-block-converter

Convert HTML into Gutenberg Blocks with PHP

65384.1k2](/packages/alleyinteractive-wp-block-converter)[alleyinteractive/wp-curate

Plugin to curate homepages and other landing pages

10204.7k](/packages/alleyinteractive-wp-curate)[alleyinteractive/wp-alleyvate

Defaults for WordPress sites by Alley.

3439.6k](/packages/alleyinteractive-wp-alleyvate)[alleyinteractive/wp-bulk-task

A library to assist with running performant bulk tasks against WordPress objects.

21388.3k5](/packages/alleyinteractive-wp-bulk-task)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
