Sitemap XML


The XML Sitemaps plugin for WordPress will automatically generate XML Sitemaps for your site and notify search engines when they’re updated.

Contrary to other plugins that generate sitemap files, this one will add a rewrite rule and store your cached sitemaps in the wp-content/sitemaps folder.

The XML Sitemaps plugin automatically assigns the rate of updates and the weight based on statistics collected on your site.

Pings occur automatically, on an hourly basis, if the sitemap file is updated.

Lastly, and contrary to the zillions of plugins that try to do the same as this one, this plugin will use the WP internals to determine the number of blog, category and tag pages on your site. This means it’ll play well with the likes of custom query string or Semiologic SEO.


Starting with version 2.0 there is now the ability to control the inclusion or exclusion of date archives (years and months), author, category and tags pages in your sitemap.

Additionally specific pages can also be excluded by entering their page IDs.

Go to Settings->XML Sitemaps to update settings.

Help Me!

The Plugin’s Forum is the best place to report issues.


  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The plugin will then guide you through the installation process if any manual steps are necessary


Installation Instructions
  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The plugin will then guide you through the installation process if any manual steps are necessary
The Sitemap isn’t getting generated

Actually, it is. But it’s not refreshed each time you save your posts and pages. Doing so would be far too resource intensive on large sites.

It’s generated only when explicitly requested by visiting, which is then cached in a physical file located in the /wp-content/sitemaps folder; until it needs to be refreshed once again.


The only plugin that got me around a parsing error

Great stuff — I was encountering a parsing error likely due to an open php tag somewhere in my theme and until I installed XML sitemaps no other sitemap plugins worked. Nice and simple to use and I like the way it stores a physical sitemap in a WP Folder. thx to the author

Good and simple.

Works well and the code behind it is simple.

I would like to contribute to this plugin. Please contact me about how I can get you my update that adds AMP pages.

Leggi tutte le 10 recensioni

Contributori & Sviluppatori

“Sitemap XML” รจ un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.


Traduci “Sitemap XML” nella tua lingua.

Interessato allo sviluppo?

Sfoglia il codice, accedi al repository SVN, oppure iscriviti al log di sviluppo tramite RSS.



  • PHP 7.x compat


  • Custom Posts now included in the sitemap w/ Setting to exclude
  • Individual posts can be excluded now. Previously only pages could be
  • Update urls for Google and Bing sitemap pinging
  • WP 4.7.x compat


  • Removed extra blank lines in stylesheet file that was causing issues on a few sites.
  • WP 4.3 compat
  • Tested against PHP 5.6


  • Fixed settings being reset upon plugin activation message.
  • WordPress 4.2 compat.


  • Settings were not being preserved in some cases. Should be resolved now.


  • New option to include author page in sitemap if they haven’t published a page or post.
  • WordPress 4.1 compat.


  • Fix PHP strict warning upon deactivating the plugin.


  • The blog page is not added if the page is set in the Excluded Pages list and the blog page is not the Home Page.
  • Multi-paged entries are no longer included in the sitemap. This can be re-enabled if define(‘xml_sitemaps_paged’, true); is set in wp-config


  • Changing of the plugin Settings now will cause regeneration of the sitemap
  • Fix ‘Strict Standards: Non-static method’ warning messages when in debug mode
  • WordPress 4.0 compatibility


  • Use more full proof WP version check to alter plugin behavior instead of relying on $wp_version constant.


  • Reactivate sitemap logic upon WP upgrade


  • Fix localization


  • NEW Admin Settings
  • Optionally include/exclude archive, author, category and tag pages from the sitemap
  • Option to exclude individual pages
  • Ability to generate sitemap for mobile-only sites in mobile sitemap format.
  • WP 3.9 Compat


  • Too many author pages entries were being generated
  • Code refactoring


  • Replaced deprecated PHP 5.3 function call
  • WP 3.8 compat


  • Fix incorrect admin message regarding Privacy/Search Engine Visibility Settings changed in WP 3.5


  • No longer add url to blog page if no posts have been published
  • Author links now check that author has at least 1 post or page
  • WP 3.7 compat


  • WP 3.6 compat
  • PHP 5.4 compat


  • Fix assigning the return value of new by reference warning message


  • Sitemap now includes author pages in file


  • Rebuild sitemap if post is moved to trash


  • WP 3.5 compat
  • Updated for Bing ping url and removed yahoo ping as it has been discontinued


  • WP 3.0 compat


  • Improve safe_mode and open_basedir handling


  • WPMU compat
  • Improve memcached support
  • Handle custom content dir properly
  • Add a filter so other plugins can attach pages


  • Fix an ugly typo that prevented the plugin from working in some circumstances


  • Harden a file permission check


  • Improve clean-up procedure
  • Fix Paging
  • Ping throttling tweaks: up to once every 10 minutes


  • Apply permalink filters on post and page links
  • Fix a conflict with themes and plugins that mess around with a blog’s privacy settings on 404 errors


  • Drop attachments from the sitemap