內容簡介
這個輕量級的 XML Sitemap 管理工具允許您啟用或停用 WordPress 核心的 XML sitemap,更改每個 sitemap 的最大 URL 數量以及添加最後修改日期。
功能
選項可禁用完整的 sitemap 索引或排除某些文章類型 sitemap、分類法 sitemap 或使用者 sitemap。
更改 sitemap 中的 URL 數量上限。
將最後修改日期添加到文章、分類法、使用者以及每個索引中的第一個 sitemap。
條件式 is_sitemap()、ticket、以及 is_sitemap_stylesheet() 以確保。
可用於多站台:可在網路啟用。在卸載時,只要不是 is_large_network(),就會從資料庫中清除所有子站台選項。
進行額外的修正和改進以修復核心 XML Sitemap 不良功能。
修正了一些核心 XML Sitemap 的問題:
- 某些 sitemap 上的 404 回應程式碼,ticket。
- 不要將 is_home() 設為 true,ticket。
- 不要執行主要查詢,ticket。
- 忽視 sticky,ticket。
通過減少以下方面的資料庫查詢,提高核心 XML Sitemap 的效能:
- sitemap 索引:減少 5 個查詢;
- 每個文章類型的 sitemap:減少 4 個查詢;
- 每個分類法 sitemap:根據該 sitemap 中的項目數量減少;
- 每個使用者 sitemap:根據該 sitemap 中的使用者數量減少。
隱私/GDPR
此外掛不會收集任何使用者或訪客資料也不會設定瀏覽器 cookie。使用此外掛不應以任何方式影響您的網站隱私政策。
未發布任何先前未公開的資料。也不會主動傳輸任何資料給搜尋引擎或其他第三方。
貢獻
如果您喜歡此外掛,請考慮快速撰寫評分或在支援論壇上幫助其他使用者。
如果您想要幫助改進此外掛,歡迎您在Github上貢獻程式碼,或者到WordPress 翻譯平台上將它翻譯成您的語言。
鳴謝
感謝所有積極討論和對Sitemap 組件問題進行貢獻的使用者。特別感謝@Tkama建議在 parse_request 操作鉤子上呈現 sitemap。
外掛標籤
開發者團隊
原文外掛簡介
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.
