Support » Plugins and Hacks » Patch for wp-cli command
3 years, 10 months ago
Here’s a patch that implements a wp-cli command, with which you can rebuild the sitemap from the command line.
$ wp google-sitemap rebuild
PS: The original author of the code is andreascreten.
3 years, 6 months ago
And here’s the command bundled as a separate plugin: