Skip to content

Instantly share code, notes, and snippets.

@mustardBees
Created April 30, 2020 14:15
Show Gist options
  • Select an option

  • Save mustardBees/ec2b49cd742b76bcec2a61f116996537 to your computer and use it in GitHub Desktop.

Select an option

Save mustardBees/ec2b49cd742b76bcec2a61f116996537 to your computer and use it in GitHub Desktop.
Run Yoast SEO 14.0's WP CLI command across all sites on a WordPress network (multisite)
wp site list --field=url | xargs -n1 -I % wp --url=% yoast index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment