WP Sitemaps Config

描述

Since WordPress 5.5, an XML sitemaps functionality is provided in the WordPress core. These sitemaps let search engine crawlers find all URLs quickly and comprehensively.

But there is not any configuration interface. This plugin provides an option page for all XML sitemaps generated by the WordPress core.

WP Sitemaps Config let you easily

  • disable the XML sitemaps completely with a single click
  • remove the sitemaps for all public posts, pages, categories, tags, post formats and users
  • remove the sitemaps for all public custom post types and custom taxonomies
  • add the entries Priority, Change Frequency and Last Modification Date to each URL
  • exclude single posts and pages from the XML sitemaps

This plugin is ready for multi sites. It requires WordPress 5.5 or higher. To use the XML sitemaps the PHP extension SimpleXML must run on your server.

Demo

You want to test WP Sitemaps Config before installing on your site? Try it out on your free dummy site and click here.

安装

This section describes how to install the plugin and get it working.

  1. Upload wp-sitemaps-config.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings’ > ‘XML Sitemap’

评价

2022年5月29日
A good plugin that provides useful configuration missing from core WP functionality, allowing a site owner to decide what is and is not included in a sitemap. The developer is quick to address issues raised.
2022年5月8日
The plugin is simple and works as intended. Have tested a lot of plugins but they doesn't work well with WPML and different domain per language, which this little plugin manage to handle as it makes use of Wordpress built in Sitemap feature. The support is a bit slow (took about 5 days for a response), but they are very nice and added a feature I requested which was very surprising and made me very happy. So overall a highly recommended plugin.
2021年7月4日
Awesome plugin. Should not be a plugin, tho. Should be built-in right into WordPress itself! Thank you for your work 🙂
阅读所有6条评价

贡献者及开发者

“WP Sitemaps Config” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“WP Sitemaps Config”插件已被翻译至6种本地话语言。 感谢所有译者为本插件所做的贡献。

将“WP Sitemaps Config”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.1.0

  • added support to exclude WooCommerce products
  • fixed issue with time format – converted to ISO 8601 (reported by @armbreakersweden)
  • Compatibility check with WordPress 6

2.0.4

  • fixed issue with excluding pages because pages wouldn’t exclude anymore

2.0.3

  • removed empty lines from post sitemap (reported by @gregslegs).
  • changed filter to remove urls from post sitemap

2.0.2

  • code improvement
  • moved language files to GlotPress. So, please contribute as a translator to make WP Sitemaps Config available in more and more languages.
  • Compatibility check with WordPress 5.9

2.0.1

  • Compatibility check with WordPress 5.8
  • Compatibility check with WordPress 5.7
  • Compatibility check with WordPress 5.6.2
  • New branding

2.0.0

  • Added functions to exclude single posts and pages from the sitemaps
  • Added sidebar on the settings pages of this plugin
  • Added header images and icon on the WordPress plugin’s page
  • Added post metadata removal during uninstalling this plugin
  • Published on 2020-10-24

1.0.0

  • Initial release at 2020-09-01