XML Sitemaps Manager

外掛說明

The light-weight XML Sitemaps Manager allows you to de/activate WordPress core XML sitemaps, change the maximum number of URLs per sitemap and add Last Modified dates.

Features

  • Options to disable the complete sitemap index or exclude certain post type sitemaps, taxonomy sitemaps or the user sitemap.
  • Change the maximum number of URLs in the sitemaps.
  • Add Last Modified dates to posts, terms, users and the first sitemap of each type in the index.
  • Conditional is_sitemap(), ticket, and is_sitemap_stylesheet() for good measure.
  • Polylang compatible.
  • Multisite compatible: Can be network activated. On uninstallation, all sub-site options will be cleared from the database as long as not is_large_network().
  • Additional fixes and improvents to the core XML Sitemap.

Fixes some core XML Sitemap bugs:
– Blog page lastmod in WP 6.5 (use last post date instead of last modified date)
– 404 Response code on certain sitemaps, ticket.
– Don’t set is_home() true, ticket.
– Don’t execute main query, ticket.
– Ignore stickyness in WP 6.0 and below, ticket (fixed in WP 6.1).

Improves core XML Sitemap performance by reducing the number of database queries for:
– the sitemap index by 5;
– each post type sitemap by 4;
– each taxonomy sitemap by the number of terms in that sitemap, ticket (fixed in WP 6.0);
– each user sitemap by the number of users in that sitemap.

Privacy / GDPR

This plugin does not collect any user or visitor data nor set browser cookies. Using this plugin should not impact your site privacy policy in any way.

There is no data published that was not already public. There is no data actively transmitted to search engines or other third parties.

Contribute

If you’re happy with this plugin as it is, please consider writing a quick rating or helping other users out on the support forum.

If you wish to help improve this plugin, you’re very welcome to translate it into your language or contribute code on Github.

Credits

Credits to all users actively discussing and contributing code to Sitemap component bugs, explicitly to @Tkama for suggesting to render the sitemaps at the parse_request action hook.

螢幕擷圖

常見問題集

Where are the plugin options?

All the plugin settings can be found on the Settings > Reading admin page, under Search engine visibility.

Which bug fixes are included?

A selection of community proposed fixes to reported Sitemap component bugs are included. Along the way, new ones might be added and resolved ones will be removed. If you are looking for a specific bug fix to be included, please ask on this plugin Support forum or via an Issue or Pull Request on Github.

使用者評論

2022 年 10 月 31 日
This was the answer I was looking for. I have about 30,000 products and the core sitemap creation process kept creating bogus sitemaps that returned 404s. Google was snubbing me UNTIL this plugin was found. I’d rate 10 stars if I could!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈XML Sitemaps Manager〉的開發相關工作。

參與者

〈XML Sitemaps Manager〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈XML Sitemaps Manager〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.6

  • Improved blog/home page lastmod date calculation for WP 6.5+
  • Taxonomy term sitemaps lastmod based on post type
  • Improved Polylang compatibility
  • Adapted stylesheet /w mention
  • Namespacing & autoloader
  • Purge lastmod meta caches
  • Fix l18n issue, thanks @alexclassroom
  • Fix blog public check failing with object cache

0.5

  • FIX: empty lastmod when no posts, thanks @ownerstorefly

0.4

  • Basic Polylang compatibility
  • FIX failing wp_sitemaps_add_provider filter

0.3

  • Update some text strings
  • Move class initiations to hooks plugins_loaded, init & admin_init
  • FIX admin issue (strict mode), thanks @joostdekeijzer

0.2

  • Simplify admin
  • Fix: Textdomain xml-sitemaps-manager
  • Fix: All settings empty when blog not public

0.1

  • Initial release