This is a simple sitemap plugin meant to run at scale. Sitemaps are only updated via WP-CLI. Output is saved in an option for fast reading/displaying on the front end.
- Install the plugin.
- Run the WP-CLI command:
wp tenup-sitemaps generate
- Add WP-CLI command to cron job. For multisite, add a command for each site in the network.
You can pass
--range to the
generate command to only index content within a certain age range.
wp tenup-sitemaps generate --range=12 would only index content created/updated within the last 12 months.
The plugin indexes all public posts, post type archives, and public taxonomy term archives. For posts, images are parsed and included. Translated content needs to be manually filtered in via
Stable: 10up is not planning to develop any new features for this, but will still respond to bug reports and security concerns. We welcome PRs, but any that include new features should be small and easy to integrate and should not include breaking changes. We otherwise intend to keep this tested up to the most recent version of WordPress.
A complete listing of all notable changes to 10up Sitemaps is documented in CHANGELOG.md.