InMotion Hosting Support Center

In this tutorial, we will show you how to create an XML Sitemap in WordPress using the All in One SEO Pack plugin. An XML sitemap is a document that helps Google and other major search engines better understand your website while crawling it. Sitemaps are a protocol that allows the webmaster for a website to inform Google and other major search engines about URLS on a website that are available for crawling. For more information, see our full article What is a XML sitemap

Create XML Sitemap

  1. Log into your WordPress Dashboard.
  2. Click the All in One SEO option in the navigation menu.
  3. Click the Feature Manager option in the All in One SEO section.
  4. You will see the XML Sitemaps option, click the Activate button.

    You will then see a message stating "All in One SEO Options Updated." Your sitemap will be created at this time.

  5. Click the XML Sitemap link in the All in One SEO section of the navigation menu.
  6. You can then choose your sitemap settings as needed. Below is a description of the available options provided by All in One SEO plugin:
    Option Description
    Sitemap Status Access your sitemap or the status of your sitemap.
    Filename Prefix Specifies the name of your sitemap file. This will default to 'sitemap'.
    Schedule Updates Notify search engines based on the selected schedule, and also update static sitemap daily if in use. (this uses WP-Cron, so make sure this is working properly on your server as well)
    Enable Sitemap Indexes Organize sitemap entries into distinct files in your sitemap. Enable this only if your sitemap contains over 50,000 URLs or the file is over 5MB in size.
    Post Types Select which Post Types appear in your sitemap.
    Taxonomies Select which taxonomy archives appear in your sitemap.
    Include Date Archive Pages Include Date Archives in your sitemap.
    Include Author Pages Include Author Archives in your sitemap.
    Exclude Images Exclude Images in your sitemap.
    Create Compressed Sitemap Create a compressed sitemap file in .xml.gz format.
    Link From Virtual Robots.txt Places a link to your Sitemap.xml into your virtual Robots.txt file.
    Dynamically Generate Sitemap Dynamically creates the XML sitemap instead of using a static file.
    Additional Pages Enter information below for any additional links for your sitemap not already managed through WordPress.
    Excluded Items
    Excluded Categories Entries from these categories will be excluded from the sitemap.
    Excluded Pages Use page slugs or page IDs, seperated by commas, to exclude pages from the sitemap.
    Priorites
    Homepage Manually set the priority of your homepage.
    Posts Manually set the priority of your posts.
    Taxonomies Manually set the priority of your taxonomies.
    Frequencies
    Homepage Manually set the frequency of your homepage.
    Posts Manually set the frequency of your posts.
    Taxonomies Manually set the frequency of your taxonomies.
  7. Click the Update Sitemap button to save your changes.

    You are finished when you see a message stating "All in One SEO Options Updated."


Congratulations, now you know how to create an XML Sitemap in WordPress using the All in One SEO Pack plugin! In the next guide we will show you how to Set your Social Meta in WordPress with All in One SEO Pack.

Was this article helpful?
Continued Education in Course All In One SEO Pack
You are viewing Section 6: Creating an XML Sitemap in WordPress with All in One SEO Pack
Section 5: Setting WordPress SEO Title and Description with All in One SEO Pack
Section 7: How to Set your Social Meta in WordPress with All in One SEO Pack

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2019-03-20 10:58 am

My sitemap created using ALL IN ONE SEO plugin is showing the following error "error on line 1 at column 10: XML declaration allowed only at the start of the documentBelow is a rendering of the page up to the first error". My Robot.txt file in ALL IN ONE SEO Plugin is showing my sitemap as "http://bestpropertydeals.co.in/sitemap.xml.gz" and when I am trying to open this URL, a zip file gets downloaded

Staff
42,943 Points
2019-03-20 12:19 pm
Sorry for the problem with your plugin. You will need to work with the plugin developer to resolve it. Fortunately, when I search for this particular issue, it has been addressed before. I found it in the WordPress support section here. The plugin developer explains why the error occurs and how to fix it.
n/a Points
2019-03-19 2:06 pm

I've utilized this feature. Sitemap validators say they cannot access the sitemap file. Google Search Console says the same. Please advise.

Staff
11,043 Points
2019-03-19 4:02 pm
Thank you for mentioning this. I'd advise checking with the plugin developers for further information.
n/a Points
2019-03-01 4:11 am

I have site with subdommains. How l can make sitemap.xml for subdomains only? Now your modul display sub and main domain.

Staff
3,820 Points
2019-03-02 4:28 pm
According to the Moz blog post, you should keep a separate site map for each subdomain. You may need to manually produce this if it is not an available option with this plugin.
n/a Points
2019-01-03 8:52 am

Thanks for the information.

I have got the solution of my query. Nice Plugin

Cheers!

n/a Points
2018-11-04 9:37 am

Thanks for this. Do these steps also submit the sitemap to all the search enginges? Or are there extra steps for that?

Staff
3,820 Points
2018-11-05 8:06 pm
This plugin does not send the Sitemap to Search Engines, it simply creates the sitemap that search engines can read. I recommend following the documentation per search engine to upload or provide them with your sitemap information.
n/a Points
2018-05-30 10:35 pm

Very useful informaton, thanks.

However, how long does it take for the sitemap to update? I have added pages slug names to the Excluded section but they still appear when i click on the 'view your sitemap'

Thanks

Staff
31,595 Points
2018-05-31 3:33 pm
In my tests, the sitemap changes show immediately. I recommend following our WordPress Troubleshooting guide to narrow the cause down further.

Thank you,
John-Paul

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

17 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!