rewrite-command
rewrite-command copied to clipboard
Be able to add missing rules for a multisite when using the command with the hard flag
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
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.