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
  • set the priority and change frequency for each post and page manually

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.

Read also more on Best Sitemap Plugins for WordPress in 2023

安装

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’

评价

2024年2月20日
Einach und klar aufgebaut. Super easy zum Einrichten.
2023年3月1日 1 回复
As many already have written here: This is the badly missing user interface for the sitemap feature in Core. Sometimes a custom post type or taxonomy is badly registered and has a sitemap, although there is no public facing page available or WP core is generating an author sitemap by default ... With this plugin, you can disable those unwanted sitemaps with one simple checkbox. Additionally, you can enable the last modification date/time which is highly recommended (because crawler now can better plan their work). There is a ticket milestoned for WordPress 6.3 which is discussing this to be part of the core sitemap. And it seems there is a feature planned for custom additions to "priority" and "change frequency". This would be worth a sixth star 😉
2022年11月29日 1 回复
As others have commented, it seems like this functionality should have been included in core WP when wp-sitemap.xml was integrated. In my case, it saved the time and effort having to find/add code to functions.php to exclude taxonomies. Thanks for the useful plugin!
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.
阅读所有9条评价

贡献者及开发者

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

贡献者

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

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

对开发感兴趣吗?

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

更新日志

2.2.1

  • removed leftover debugging code
  • Compatibility check with WordPress 6.4

2.2.0

  • added option in the post metabox for the priority (thanks to @Hinjiriyo)
  • added option in the post metabox for the change frequency (thanks to @Hinjiriyo)
  • changed the default of the change frequency from ‘never’ to ‘weekly’ (inspired by @zodiac1978)
  • Compatibility check with WordPress 6.3

2.1.1

  • fixed issue with time format – improved conversion to ISO 8601 (reported by @zodiac1978)
  • Compatibility check with WordPress 6.2 beta

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