Overview
XML Sitemap Generator for Google describes itself as: “Generate multiple types of sitemaps to improve SEO and get your website indexed quickly.”
It is active on 1+ million WordPress sites and rated 4.8 out of 5 by 2,233 users on WordPress.org. Developers can extend it through 6 actions and 14 filters, listed below.
How to install XML Sitemap Generator for Google
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “XML Sitemap Generator for Google” and pick the one by Auctollo.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install google-sitemap-generator --activateRequirements: WordPress 4.6+ · PHP 5.0+ · tested up to WordPress 7.1.4
Hooks & customisation
XML Sitemap Generator for Google 4.1.25 fires 6 actions and 14 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter: 'sm_exclude_from_sitemap_by_post_ids' - Allow extending and modifying…
apply_filters( 'sm_exclude_from_sitemap_by_post_ids', $posts_to_exclude );
// Filter: 'sm_exclude_from_sitemap_by_term_ids' - Allow excluding terms by ID.
apply_filters( 'sm_exclude_from_sitemap_by_term_ids', [] );
// Filter the maximum number of entries per XML sitemap.
apply_filters( 'sm_sitemap_entries_per_page', gsg_clamp_links_per_page( $this->get_option( 'links_page' ) ) );
// Filter the authors, included in XML sitemap.
apply_filters( 'sm_sitemap_exclude_author', $authors );
// Action in sitemap-core.php
do_action( 'sm_build_content', $this, $type, $params );
// Action in sitemap-core.php
do_action( 'sm_build_index', $this );Need XML Sitemap Generator for Google customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Auctollo. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.