XML Sitemaps Module

What is a Sitemap?

Want to understand and learn more about XML Sitemaps, visit the official documentation at Sitemaps.org.

NOTE: XML Sitemaps in All in One SEO Pack only work with pretty permalinks.  They do not work with the Plain permalink setting.

XML Sitemaps box in All in One SEO Pack

Filename Prefix

The Filename Prefix field is where you can set the name for your Sitemap.  Keeping the generic prefix ‘sitemap’, which is entered by default in this field, will make it easier for robots to find your Sitemap.

Schedule Updates

Select the schedule you’d like to ping Google and Bing about your sitemap.  Google recommends setting this to match the frequency by which you add or update content on your site.

Enable Sitemap Indexes

You should check the Enable Sitemap Indexes if you a large number of URLs in your Sitemap. This will reduce the amount of memory required to create your sitemap and speed up the sitemap. View your XML Sitemap to find how many URLs you have.

If you need to use Sitemap Indexes, All in One SEO Pack lets you paginate the indexes and set the number of posts per sitemap.  This option will show after you check the Enable Sitemap Indexes box.

XML Sitemap Indexes options

Maximum Posts Per Sitemap Page

We strongly recommend setting this to no more that 1000 in order to reduce the amount of memory used to generate the sitemap and to avoid any timeout problems when search engines try to crawl your sitemap.

Post Types and Taxonomies

The Post Types and Taxonomies sections allow you control over which content is included in your Sitemap.  All boxes will be checked by default.  If you are using Sitemap Indexes a file will be created for each Post Type and Taxonomy that is checked.  If you aren’t using a certain Post Type or Taxonomy, that file will by empty in your Sitemap so it is important to only check the Post Types and Taxonomies that exist on your site when using Sitemap Indexes.

Include Date Archive Pages/Include Author Pages

Include Date Archive Pages and Include Author Pages are both left unchecked in an effort to avoid duplicate content warnings from Google.  This is mainly a legacy setting as Google is now smart enough to understand how WordPress works and that content is archived and included on author pages.  It is up to you whether to check this or not, if you do check it and receive a duplicate content warning then you can simply change the setting and notify Google of the changes.

Remember: Just because you don’t include the content in your Sitemap does not mean Google will find it and index it.  If you link to content on your site then search engines will crawl it by following those links, so use All in One SEO Pack to control what content is indexed by using the NOINDEX Settings.

Exclude Images

By default, All in One SEO Pack includes images in the XML Sitemap to comply with search engines such as Google that want images submitted to them for indexing in Google Images.

Some users may not wish to include images. For instance, Yandex does not support images inside a sitemap. Enable this option if you want to exclude images from your XML Sitemap. Alternatively, you can use our API filter hook to exclude images from All in One SEO Pack.

NOTE: This feature was added in version 2.4 of the free plugin and version 2.5 of All in One SEO Pack Pro.

Create Compressed Sitemap

This option creates a Sitemap using the .GZip compression.  This setting is checked by default so that a compressed file is submitted which can be used by search robots if they have trouble pulling your normal Sitemap.  All major search engines will accept this format for your Sitemap.

Link From Virtual Robots.txt

This setting adds a Sitemap link to the dynamic Robots.txt file that WordPress automatically creates for you.  This does not add a link to any static Robots.txt file you may have created.

Dynamically Generate Sitemap

If you activate this setting your Sitemap will be generated dynamically each time a search robot requests it rather than creating a static file which can be deleted, become stale, corrupt or be overwritten.  The Sitemap that All in One SEO Pack will generate is always up-to-date with the most current version of your site, you don’t need to manually update your Sitemap if you have this setting checked.

Noindex Sitemap File

This option will be displayed if you have Dynamically Generate Sitemap enabled. Checking this option will instruct search engines no to display your XML Sitemap in search results.

Additional Pages

Additional Pages

Additional Pages

You can use this section to add any URLs to your Sitemap which aren’t a part of your WordPress installation.  For example, if you have a contact form that you would like to be included on your Sitemap you can enter the information manually as shown below.

Additional pages contact us

Additional pages contact us

Once you click Add URL it will show both in the Additional Pages box (as shown below) and in your Sitemap.

Additional pages contact us added

Additional pages contact us added

This URL can be edited by typing the Page URL (for example, /contact_us.html) into the Page URL field and changing the settings for Priority, Frequency, and Last Modified.  When you click Add URL again the settings will be updated.

Excluded Items

Excluded Items

Excluded Items

The Excluded Items section allows you to to exclude specific categories or pages from your Sitemap.  You can exclude any items that you do not want to be crawled by search engines.

To exclude a Page, Post or Custom Post Type just enter the slug or ID of each item separated by a comma.  For example, “store, cart, checkout” would exclude these three Pages from your Sitemap.

Remember: Just because you don’t include the content in your Sitemap does not mean Google will find it and index it.  If you link to content on your site then search engines will crawl it by following those links, so use All in One SEO Pack to control what content is indexed by using the NOINDEX Settings.

Priorities and Frequencies

If you click the ‘view your sitemap’ link at the top of the XML Sitemaps page in All in One SEO Pack you can see the Priority and Change Frequency columns on your Sitemap along with the current value for each URL.  Values for both of these settings are generated based on the last modified date of the URL.  So, something that changed yesterday would have a Frequency value of daily and the Priority value would most likely be around .9 (90%) depending on the rest of your site.  The default settings for these in All in One SEO Pack are all Do Not Override, and if you have the Dynamically Generate Sitemap setting checked (which it is by default) then the Priorities and Frequencies will update as the Sitemap changes.

Priorities

Priorities

The Priority is the priority of the URL relative to the other URLs on your site.  The homepage has top priority for search robots and is therefore set to 100%.  The percentage value you give for each URL tells crawlers how important you feel a certain URL is.  This setting is only used within your site so giving all of your URLs a high priority won’t affect how your site ranks against other sites, it only tells crawlers how URLs relate on your own site.

Frequencies

Frequencies

The Frequency is how frequently a page is likely to change.  This provides guidance to search robots on how often they should recrawl a URL.  This does not control how often search robots crawl your site, you cannot control this, search engines determine when they will crawl your site.   These settings (hourly, daily, etc) are just suggestions to search robots. They will take note of the setting and may follow it, but they can crawl at whatever frequency they want.

Controlling Priorities and Frequencies for Individual Post Types and Taxonomies

You can control both the Priorities and Frequencies for each Post Type and each Taxonomy on your site.  To do this select the “Select Individual” choice from the Posts and/or Taxonomies dropdown under Priorities and Frequencies. Selecting this option will display a dropdown box for each Post Type and for each Taxonomy.  You can then set the priority of frequency for each Post Type or Taxonomy.

 

Setting Priority / Frequency for Individual Post Types

Setting Priority / Frequency for Individual Post Types

Setting Priority / Frequency for Individual Taxonomies

Setting Priority / Frequency for Individual Taxonomies

If you’d like to learn more about the way search engines treat the Priority and Frequency settings of a Sitemap, or want to learn more about XML Sitemaps please refer to the official documentation on the protocol at Sitemaps.org.

Useful Links

  1. GZip Compression
  2. Sitemap Information
[i]
[i]
Skip to toolbar