WP Sitemaps Config

Mô tả

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.

Cài đặt

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’

Đánh giá

29 Tháng Mười Một, 2022 1 reply
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!
29 Tháng Năm, 2022
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.
8 Tháng Năm, 2022
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.
Đọc tất cả 7 đánh giá

Người đóng góp & Lập trình viên

“WP Sitemaps Config” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“WP Sitemaps Config” đã được dịch qua 6 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “WP Sitemaps Config” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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