Description
Extends the Built-in WordPress Sitemaps XML:
Improves the WordPress sitemaps XML with article modification times, alternate language URLs, and Schema images for Google rich results.
Includes Post Type Archive Pages:
Includes missing post type archive pages in the WordPress sitemaps (like the WooCommerce shop page and The Events Calendar events page).
Includes Alternate Languages:
Includes localized pages for Google (ie. alternate language URLs) from PolyLang and WMPL.
Select Post Types and Taxonomies:
Optionally include or exclude post types and taxonomies from the WordPress sitemaps XML.
Excludes Noindex and Redirected URLs:
Excludes noindex and redirected posts, pages, custom post types, taxonomies (categories, tags, etc.), and user profiles pages from the WordPress sitemaps XML.
WPSSO Core Required
WPSSO Better WordPress Sitemaps XML (WPSSO WPSM) is an add-on for the WPSSO Core plugin, which provides complete structured data for WordPress to present your content at its best on social sites and in search results – no matter how URLs are shared, reshared, messaged, posted, embedded, or crawled.
Screenshots
The WPSSO WPSM settings page provides options to customize the post and taxonomy types added to the WordPress sitemaps XML. The "No Index" option under the Document SSO > Edit Visibility tab can be used to exclude individual posts, pages, custom post types, taxonomy terms, or user profile pages from the WordPress sitemaps XML.
Installation
Install and Uninstall
Reviews
Contributors & Developers
“WPSSO Better WordPress Sitemaps XML” is open source software. The following people have contributed to this plugin.
Contributors“WPSSO Better WordPress Sitemaps XML” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “WPSSO Better WordPress Sitemaps XML” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
Version Numbering
Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]
- {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
- {minor} = New functionality was added or improved in a backwards-compatible manner.
- {bugfix} = Backwards-compatible bug fixes or small improvements.
- {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).
Standard Edition Repositories
Development Version Updates
WPSSO Core Premium customers have access to development, alpha, beta, and release candidate version updates:
Under the SSO > Update Manager settings page, select the “Development and Up” (for example) version filter for the WPSSO Core plugin and/or its add-ons. When new development versions are available, they will automatically appear under your WordPress Dashboard > Updates page. You can reselect the “Stable / Production” version filter at any time to reinstall the latest stable version.
Changelog / Release Notes
Version 5.2.1 (2023/01/26)
- New Features
- None.
- Improvements
- Added compatibility declaration for WooCommerce HPOS.
- Added an XML sitemaps conflict notice for Yoast SEO v20.0.
- Updated the minimum WordPress version from v5.2 to v5.4.
- Bugfixes
- None.
- Developer Notes
- Added a new
WpssoWpsmConflict
library class. - Added a new
WpssoWpsmConflictSeo
library class. - Updated the
WpssoAbstractAddOn
library class.
- Added a new
- Requires At Least
- PHP v7.2.
- WordPress v5.4.
- WPSSO Core v14.7.0.
Version 5.2.0 (2023/01/20)
- New Features
- None.
- Improvements
- Removed the “Change to View” button from the WP Sitemaps settings page.
- Bugfixes
- None.
- Developer Notes
- Updated the
SucomAbstractAddOn
common library class.
- Updated the
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v14.5.0.
Version 5.1.0 (2022/12/29)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Refactored and changed the public
WpssoWpsmSitemapsFilters->get_exclude_meta_query()
method to a private static method.
- Refactored and changed the public
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v14.1.0.
Version 5.0.0 (2022/11/04)
- New Features
- None.
- Improvements
- Improved performance when creating the sitemaps XML.
- Added a new “Maximum URLs per Sitemap” option (default is 2000).
- Bugfixes
- None.
- Developer Notes
- Added
is_sitemap()
andis_sitemap_stylesheet()
functions. - Refactored the following methods to improve performance when excluding noindex and/or redirected posts:
- WpssoWpsmSitemapsFilters->wp_sitemaps_posts_query_args()
- WpssoWpsmSitemapsFilters->wp_sitemaps_taxonomies_query_args()
- WpssoWpsmSitemapsFilters->wp_sitemaps_users_query_args()
- Added
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v13.8.0.
Version 4.0.0 (2022/10/28)
- New Features
- None.
- Improvements
- Added a new “Add Schema Images” option in the SSO > WP Sitemaps settings page.
- Added a notice in case WP sitemaps are disabled on a production site.
- Bugfixes
- None.
- Developer Notes
- None.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v13.7.0.
Version 3.0.0 (2022/04/04)
- New Features
- None.
- Improvements
- Added ‘xhtml:link’ markup for alternate language URLs to the WordPress sitemaps and its stylesheet.
- Bugfixes
- None.
- Developer Notes
- Moved lib/sitemaps.php to lib/sitemaps/filters.php.
- Added lib/sitemaps.php to define the
$wp_sitemaps
global variable beforewp_sitemaps_get_server()
runs. - Added lib/sitemaps/sitemaps.php to extend WP_Sitemaps and set a different renderer.
- Added lib/sitemaps/renderer.php to extend WP_Sitemaps_Renderer.
- Added a new ‘wp_sitemaps_stylesheet_content’ filter in lib/sitemaps/filters.php to show ‘xhtml:link’ values.
- Replaced the WordPress
WP_Sitemaps_Renderer->get_sitemap_xml()
method to provide alternate languages in the sitemap.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v12.1.0.
Version 2.1.2 (2022/03/26)
- New Features
- None.
- Improvements
- Added support for
WpssoUtil->is_redirect_enabled()
in WPSSO Core v12.0.0.
- Added support for
- Bugfixes
- None.
- Developer Notes
- None.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v12.0.0.
Version 2.1.1 (2022/03/07)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Updated
SucomUtilWP
method calls toSucomUtil
for WPSSO Core v11.5.0.
- Updated
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v11.5.0.
Version 2.1.0 (2022/02/19)
- New Features
- None.
- Improvements
- Added a test for
WpssoUtil->get_redirect_url()
to exclude the post, term, or user if it is being redirected. - Removed test for
WpssoUtilRobots->is_enabled()
when checking for noindex, which allows noindex checks even if the robots meta tag is disabled.
- Added a test for
- Bugfixes
- None.
- Developer Notes
- None.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v10.1.0.
Version 2.0.0 (2022/02/05)
- New Features
- Adds post type archive pages to the WordPress sitemap XML, like the WooCommerce shop page and The Events Calendar events page.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Added a new
WpssoWpsmSitemaps->wp_sitemaps_posts_pre_url_list()
filter to include the post type archive page. - Added a new
WpssoWpsmSitemaps->get_posts_query_args()
method.
- Added a new
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v10.1.0.
Version 1.2.0 (2022/01/19)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Renamed the lib/abstracts/ folder to lib/abstract/.
- Renamed the
SucomAddOn
class toSucomAbstractAddOn
. - Renamed the
WpssoAddOn
class toWpssoAbstractAddOn
. - Renamed the
WpssoWpMeta
class toWpssoAbstractWpMeta
.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v9.14.0.
Version 1.1.0 (2022/01/06)
- New Features
- None.
- Improvements
- Added support for the new
WpssoOpenGraph->get_mod_og_type_id()
method in WPSSO Core v9.13.0.
- Added support for the new
- Bugfixes
- None.
- Developer Notes
- None.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v9.13.0.
Version 1.0.1 (2021/11/17)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- Removed a ‘WPSSO_PLUGINDIR’ dependency check before loading the
WpssoWpsmSitemaps
class.
- Removed a ‘WPSSO_PLUGINDIR’ dependency check before loading the
- Developer Notes
- None.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v9.8.0.
Version 1.0.0 (2021/11/16)
- New Features
- Initial release.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- None.
- Requires At Least
- PHP v7.2.
- WordPress v5.5.
- WPSSO Core v9.8.0.