WP CLI for basic setup for multisite network
-
I am trying to configure redirection plugin settings for all subsites using wp cli in the multisite network without manually going on each subsite basic redirection setup page.
I found this https://redirection.me/developer/wp-cli/ I am able to access current settings states for the sites , but not sure how to update the settings. Here is the cli command I am using to view settigs.
for one single site install you can run: wp redirection setting monitor_types
wp site list –field=url | xargs -n1 -I % wp –url=% redirection setting monitor_types
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘WP CLI for basic setup for multisite network’ is closed to new replies.