| 开发者 |
fernandot
ayudawp |
|---|---|
| 更新时间 | 2026年1月8日 02:54 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/native-sitemap-customizer/ or install through WordPress plugins screenNo. This plugin manages the native WordPress sitemap (wp-sitemap.xml) that WordPress generates automatically since version 5.5.
Old sitemap URLs from SEO plugins (like sitemap.xml, sitemap_index.xml, post-sitemap.xml, etc.) are automatically redirected to the native WordPress sitemap using 301 permanent redirects. This ensures search engines update their indexes and you don't lose any SEO value during the migration. However, we strongly recommend disabling the sitemap functionality in your SEO plugin to avoid unnecessary code execution, database queries, and potential redirect loops if the SEO plugin tries to redirect the native sitemap to its own.
The plugin can automatically detect and exclude posts and taxonomy terms marked as noindex by popular SEO plugins (Yoast SEO, Rank Math, All in One SEO, SEOPress, The SEO Framework). This feature is enabled by default in Advanced Settings and ensures your sitemap only includes content you actually want indexed by search engines.
Your sitemap is available at: https://yourdomain.com/wp-sitemap.xml
No, WordPress uses a fixed URL structure for its native sitemap. This is intentional to maintain compatibility and standards.
Submit your sitemap manually to Google Search Console (https://search.google.com/search-console) and Bing Webmaster Tools (https://www.bing.com/webmasters). Automatic ping services are no longer supported by major search engines as of 2023.
WordPress may cache the sitemap. Try clearing your cache plugin (if any) and test in an incognito browser window. Changes take effect immediately in the WordPress core.
Yes! You can exclude posts by ID (enter one ID per line) or by slug patterns (any post containing that text in its slug will be excluded).
Yes! You can exclude taxonomy terms by ID (enter one ID per line) or by slug patterns (any taxonomy term containing that text in its slug will be excluded).
The default of 1,000 URLs per sitemap is recommended for most sites. Lower values can improve performance on large sites. The maximum allowed by the sitemap protocol is 50,000.