Linux 软件免费装
Banner图

Native Sitemap Customizer

开发者 fernandot
ayudawp
更新时间 2026年1月8日 02:54
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

google seo sitemap xml sitemap wp-sitemap

下载

1.2.1 1.4.0 1.0.1 1.1.0 1.2.0 1.0.0 1.3.0

详情介绍:

Native Sitemap Customizer gives you complete control over the native WordPress XML sitemap (wp-sitemap.xml) introduced in WordPress 5.5, without requiring a full SEO plugin. Features Perfect For Requirements How It Works Native Sitemap Customizer works by applying filters to WordPress's built-in sitemap functionality. It doesn't generate its own sitemap - it simply controls what appears in the native wp-sitemap.xml that WordPress creates. Important Notes

安装:

  1. Upload the plugin files to /wp-content/plugins/native-sitemap-customizer/ or install through WordPress plugins screen
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to Settings > Sitemap to configure your sitemap options
  4. Submit your sitemap to Google Search Console and Bing Webmaster Tools

屏幕截图:

  • Post types selection options
  • Taxonomies selection options
  • User role exclusion options
  • Post exclusions per ID or Slug options
  • Term exclusions per ID or Slug options
  • Advanced settings

升级注意事项:

1.4.0 New feature: Automatic 301 redirects from old SEO plugin sitemap URLs. Prevents 404 errors when migrating from Yoast, Rank Math, AIOSEO, SEOPress, or Google XML Sitemaps. 1.3.0 New feature: Auto-exclude noindex content from SEO plugins. Includes automatic permalink flush to prevent sitemap 404 errors. 1.2.1 Fixes admin notice dismissal issues with caching plugins (SG Optimizer, WP Rocket, Cloudflare). For best results, deactivate and reactivate the plugin after updating to ensure proper migration of settings. 1.2.0 New feature: Exclude taxonomy terms by ID and slug pattern Better security: Improved redirect handling in settings reset 1.1.0 Post types blocked by third-party plugins (like Sensei LMS lessons) now appear in sitemap automatically 1.0.1 Plugin tested with WordPress 6.9 (and it works) 1.0.0 Initial release of Native Sitemap Customizer.

常见问题:

Does this plugin create its own sitemap?

No. This plugin manages the native WordPress sitemap (wp-sitemap.xml) that WordPress generates automatically since version 5.5.

Will this conflict with my SEO plugin?

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.

What about content marked as noindex in my SEO plugin?

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.

Where is my sitemap located?

Your sitemap is available at: https://yourdomain.com/wp-sitemap.xml

Can I change the sitemap URL?

No, WordPress uses a fixed URL structure for its native sitemap. This is intentional to maintain compatibility and standards.

How do I submit my sitemap to search engines?

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.

Why are my changes not appearing?

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.

Can I exclude specific posts?

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).

Can I exclude specific taxonomy terms?

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).

What's the recommended maximum URLs setting?

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.

更新日志:

1.4.0 1.3.0 1.2.1 1.2.0 1.1.0 1.0.1 1.0.0