Directory

Be able to add missing rules for a multisite when using the command with the hard flag · Issue #53 · wp-cli/rewrite-command · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to add missing rules for a multisite when using the command with the hard flag #53

Open
lukecav opened this issue Nov 9, 2021 · 1 comment

Comments

@lukecav
Copy link

lukecav commented Nov 9, 2021

Currently, it is not possible to be able to add missing rules related to multisite when running the command since it only supports single sites.

An example command would be.
wp rewrite flush --hard --network

@danielbachhuber
Copy link
Member

Sorry for the delayed reply here, @lukecav

Currently, it is not possible to be able to add missing rules related to multisite

Could you clarify what you mean here? As far as I'm aware, rewrite rules live in each single site's options table. In order to flush for the entire network, you'd need to run wp rewrite flush against each site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants