Native Sitemap Customizer

تفصیل

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

  • Exclude Post Types: Remove any custom post type from the sitemap
  • Exclude Taxonomies: Control which taxonomies appear in the sitemap
  • User Control: Exclude specific user roles, individual users, or disable the entire users sitemap for single-author sites
  • Flexible Exclusions: Exclude posts/pages by ID or by slug patterns
  • SEO Plugin Integration: Auto-exclude noindex content from Yoast, Rank Math, AIOSEO, SEOPress, The SEO Framework
  • Smart Redirects: Automatically redirect old sitemap URLs from SEO plugins to native WordPress sitemap (301)
  • Performance: Customize the maximum number of URLs per sitemap (1-50,000)
  • Conflict Detection: Warns you if SEO plugins are active or indexing is disabled
  • Clean Interface: Two-column layout for easy navigation and configuration

Perfect For

  • Sites that don’t need a full SEO plugin
  • Developers who want granular sitemap control
  • Anyone looking to optimize their WordPress native sitemap
  • Sites using headless WordPress or custom SEO solutions

Requirements

  • WordPress 5.5 or higher (when native sitemaps were introduced)
  • PHP 7.4 or higher

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

  • If you have an SEO plugin active (Yoast, Rank Math, etc.), you should disable their sitemap functionality to avoid conflicts
  • The plugin will warn you if search engine indexing is disabled in WordPress Reading Settings
  • Changes take effect immediately – your sitemap is dynamically generated

Support

Need help or have suggestions?

Love the plugin? Please leave us a 5-star review and help spread the word!

About AyudaWP

We are specialists in WordPress security, SEO, and performance optimization plugins. We create tools that solve real problems for WordPress site owners while maintaining the highest coding standards and accessibility requirements.

Privacy

This plugin does not collect or store any personal data. It only modifies which URLs appear in your public sitemap.

اسکرین شاٹس

  • Native Sitemap settings page
  • 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. 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

عمومی سوالات

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.

جائزے

نومبر 27, 2025 1 reply
Es un plugin lo he instalado después de que el mapa de RankMath no dejar a de darme problemas en una web en concreto. Y, ahora, ya tengo muy claro que voy a aprovechar el mapa de WP. Y, en lugar de crear un mapa del sitio extra, se integra a la perfección con la funcionalidad nativa de WordPress (wp-sitemap.xml). Además su diseño garantiza que el plugin sea extremadamente liviano y está perfectamente optimizado, ya que aprovecha los recursos que WordPress ya tiene incorporados, logrando una funcionalidad avanzada sin añadir peso innecesario. La experiencia de uso es inmejorable gracias a su sencillez, ofreciendo una interfaz intuitiva que permite un control granular y preciso sobre el mapa del sitio en cuestión de minutos.¡Que me ha encantado! ¿Qué más te puedo decir?Abraham Velázquez de Creando Blog
تمام 3 جائزے پڑھیں

شراکت دار اور ڈیویلپرز

“Native Sitemap Customizer” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

“Native Sitemap Customizer” کا 1 زبان میں ترجمہ کیا گیا ہے۔ تعاون کے لیے مترجمین کا شکریہ۔

“Native Sitemap Customizer” کا اپنی زبان میں ترجمہ کریں۔

ڈویلپمینٹ میں دلچسپی ہے؟

کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔

چینج لاگ

1.4.0

  • New: Automatic 301 redirects from old SEO plugin sitemap URLs to native WordPress sitemap
  • Supported URL patterns: Yoast SEO, Rank Math, All in One SEO, SEOPress, Google XML Sitemaps
  • Redirects sitemap index URLs: sitemap.xml, sitemap_index.xml, sitemaps.xml
  • Redirects sub-sitemaps: post-sitemap.xml, page-sitemap.xml, category-sitemap.xml, author-sitemap.xml, etc.
  • Handles pagination: post-sitemap2.xml redirects to wp-sitemap-posts-post-2.xml

1.3.0

  • New: Auto-exclude posts and terms marked as noindex by SEO plugins
  • New: Supported SEO plugins: Yoast SEO, Rank Math, All in One SEO, SEOPress, The SEO Framework
  • New: Plugin recommendations section with one-click installer
  • Fixed: Entry/entries counter now properly internationalized
  • Improved: Automatic permalink flush on activation and settings save to prevent 404 errors on sitemap

1.2.1

  • Fixed: Admin notice dismissal now works correctly with object cache (Redis, Memcached)
  • Fixed: Notices no longer reappear after clearing cache in SG Optimizer, WP Rocket, or Cloudflare
  • Fixed: Noindex warning was incorrectly showing promotional content
  • Changed: Switched from transients to options for storing dismissed notices
  • Changed: Replaced dismissible promotional notice with static maintenance services box
  • Changed: Noindex notice now displays as error (red) instead of warning to better reflect its importance
  • Improved: Better JavaScript error handling for notice dismissal

1.2.0

  • New: Exclude taxonomy terms (categories, tags, etc.) by ID
  • New: Exclude taxonomy terms containing specific text in their slug
  • Fixed: Use wp_safe_redirect() instead of wp_redirect() for improved security
  • Renamed exclusion sections for clarity (Post Exclusions / Term Exclusions)

1.1.0

  • New: Override third-party plugin sitemap exclusions (e.g., Sensei LMS lessons now appear in sitemap by default)
  • Post types blocked by other plugins are now automatically re-included unless user explicitly excludes them

1.0.1

  • Tested up to WordPress 6.9

1.0.0

  • Initial release
  • Exclude post types from sitemap
  • Exclude taxonomies from sitemap
  • Exclude user roles and specific users
  • Exclude entire users sitemap for single-author sites
  • Exclude posts by ID and slug patterns
  • Customize maximum URLs per sitemap (1-50,000)
  • Detection of SEO plugin conflicts
  • Detection of disabled indexing
  • Reset to defaults functionality
  • Clean two-column admin interface