WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Beginners Guide» What is an XML Sitemap? How to Create a Sitemap in WordPress?

What is an XML Sitemap? How to Create a Sitemap in WordPress?

Last updated on January 14th, 2021 by Editorial Staff
1k Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
What is an XML Sitemap? How to Create a Sitemap in WordPress?

Are you wondering what is an XML sitemap, and how to add it to your WordPress website?

An XML sitemap helps search engines easily navigate through your website content. It gives them a list of all your content in a machine-readable format.

In this article, we will explain what is an XML sitemap, and how to easily create a sitemap in WordPress.

What is an XML Sitemap and how to create one for your WordPress site

What is an XML Sitemap?

An XML sitemap is a file that lists all your website content in an XML format, so search engines like Google can easily discover and index your content.

Back in the early 2000s, government websites used to have a link on their main pages, titled “Sitemap”. This page usually contained a list of all the pages on that website.

While some websites still have HTML sitemaps today, the overall usage of sitemaps have evolved.

Today sitemaps are published in an XML format instead of HTML, and their target audience is search engines and not people.

Basically, an XML sitemap is a way for website owners to tell search engines about all the pages that exist on their website.

It also tells search engines which links on your website are more important than others, and how frequently you update your website.

While XML sitemaps will not boost your search engine rankings, they allow search engines to better crawl your website. This means they can find more content and start showing it in search results thus resulting in more search traffic, and improved SEO rankings.

Why You Need an XML Sitemap?

Sitemaps are extremely important from a search engine optimization (SEO) point of view.

Simply adding a sitemap does not affect search rankings. However, if there is a page on your site that is not indexed, then sitemap provides you a way to let search engines know about that page.

Sitemaps are extremely useful for when you first start a blog or create a new website because most new websites don’t have any backlinks. This makes it harder for search engines to discover all of their content.

This is why search engines like Google and Bing allow new website owners to submit a sitemap in their webmaster tools. This allows their search engine bots to easily discover and index your content (more on this later).

Sitemaps are equally as important for established popular websites as well. They allow you to highlight which part of your websites are more important, which parts are more frequently updated, etc, so search engines can visit and index your content accordingly.

That being said, let’s take a look at how to create XML sitemap in WordPress.

How to create a Sitemap in WordPress?

There are several ways to create an XML sitemap in WordPress. We will show you three popular methods to create an XML sitemap in WordPress, and you can choose one that works best for you.

  • How to create an XML sitemap in WordPress without a plugin
  • Creating an XML sitemap in WordPress using All in One SEO
  • Creating an XML sitemap in WordPress using Yoast SEO
  • Submit your XML sitemap to search engines
  • How to utilize XML sitemaps to grow your website

Method 1. How to Create an XML Sitemap in WordPress without a Plugin

This method is very basic and limited in terms of features.

Until August 2020, WordPress didn’t have built-in sitemaps. However in WordPress 5.5, they released a basic XML sitemap feature.

This allows you to automatically create an XML sitemap in WordPress without using a plugin. You can simply add wp-sitemap.xml at the end of your domain name, and WordPress will show you the default XML sitemap.

Default WordPress XML sitemap

This XML sitemap feature was added to WordPress to make sure that any new WordPress website does not miss out on the SEO benefits of an XML sitemap.

However, it is not very flexible, and you cannot easily control what to add or remove from your XML sitemaps.

Luckily, almost all top WordPress SEO plugins come with their own sitemap functionality. These sitemaps are better, and you can control which content to remove or exclude from your WordPress XML sitemaps.

Method 2. Creating an XML Sitemap in WordPress using All in One SEO

The easiest way to create an XML sitemap in WordPress is by using the All in One SEO plugin for WordPress.

It is the best WordPress SEO plugin on the market offering you a comprehensive set of tools to optimize your blog posts for SEO.

First, you need to install and activate the All in One SEO plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Note: Sitemap feature is also available in AIOSEO Free version. However to get advanced news sitemap and video sitemaps, you’ll need the Pro version.

Upon activation, go to the All in One SEO » Sitemaps page to review sitemap settings.

Enable sitemap in All in One SEO

By default, All in One SEO will enable the Sitemap feature for you and replace the basic WordPress sitemaps.

You can click on the ‘Open Sitemap’ button to preview it to see what it looks like. You can also view your sitemap by adding ‘sitemap.xml’ to the URL such as www.example.com/sitemap.xml.

All in One SEO XML sitemap preview

As a beginner, you don’t need to do anything as the default settings would work for all kinds of websites, blogs, and online stores.

However, you can customize the sitemap settings to control what you want to include in your XML sitemap.

Simply scroll down to the Sitemap settings section.

AIOSEO Sitemap settings

This section gives you options to manage sitemap indexes, include or exclude post types, taxonomies (categories and tags). You can also enable XML sitemaps for date-based archives and author archives.

All in One SEO automatically includes all your WordPress content in XML sitemaps. However, what if you have stand-alone pages like a contact form, a landing page, or Shopify store pages that are not part of WordPress?

Well, AIOSEO is the only plugin that lets you add external pages in your WordPress sitemap. Simply scroll to the Additional Pages section and turn it on. This will show you a form where you can add any custom pages that you want to include.

Adding additional pages to your WordPress XML sitemap

You simply need to add the URL of the page that you want to include and then set a priority where 0.0 is the lowest and 1.0 is the highest, if you are unsure then we recommend using 0.3.

Next, choose the frequency of updates and the last modified date for the page.

You can click on the ‘Add New’ button if you need to add more pages.

Don’t forget to click on the ‘Save Changes’ button to store your settings.

Excluding Specific Posts / Pages from your XML Sitemap

All in One SEO allows you to exclude any post or page from your XML Sitemaps. You can do this by clicking on the Advanced Settings section under the All in One SEO » Sitemaps page.

Excluding items from your WordPress XML sitemap

You can also remove a post or page from your XML sitemaps by making it no-index and no-follow. This will block search engines from showing that content in search results.

Simply edit the post or page that you want to exclude and scroll down to the AIOSEO Settings box below the editor.

Removing a post or page from XML sitemap using robots.txt

From here you need to switch to the Advanced tab and check the boxes next to ‘No Index’ and ‘No Follow’ options.

Creating Additional Sitemaps

All in One SEO allows you to create additional sitemaps like a video sitemap or a news sitemap.

You can create a video sitemap if you regularly embed videos in your blog posts or pages. It allows search engines to display posts in search and video search results along with a video thumbnail.

Video search results showing video thumbnail

You can also create a News sitemap if you run a news website and want to appear in Google News search results.

Simply go to All in One SEO » Sitemaps and switch to the Video Sitemap or News Sitemap tabs to generate these sitemaps.

Generating video and news sitemaps in All in One SEO

Overall, AIOSEO is the best WordPress plugin because it gives you all the flexibility and powerful features at a very affordable price.

Method 3. Creating an XML Sitemap in WordPress using Yoast SEO

If you are using Yoast SEO as your WordPress SEO plugin, then it also automatically turns on XML sitemaps for you.

First, you need to install and activate the Yoast SEO plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to SEO » General page and switch to the ‘Features’ tab. From here, you need to scroll down to the ‘XML Sitemap’ option and make sure that it is turned on.

Yoast SEO XML Sitemap option

Next, click on the save changes button to store your changes.

To verify that Yoast SEO has created an XML Sitemap, you can click on the question mark icon next to the XML Sitemap option on the page.

View XML Sitemap created by Yoast SEO plugin

After that, click on the ‘See the XML Sitemap’ link to view your live XML sitemap generated by Yoast SEO.

You can also find your XML sitemap by simply adding sitemap_index.xml at the end of your website address. For example:

https://www.example.com/sitemap_index.xml

Yoast SEO sitemap

Yoast SEO creates multiple sitemaps for different types of content. By default, it will generate sitemaps for posts, pages, author, and categories.

How to Submit Your XML Sitemap to Search Engines

Search engines are quite smart in finding a sitemap. Whenever you publish new content, a ping is sent to Google and Bing to inform them about changes in your sitemap.

However, we recommend that you submit the sitemap manually to ensure that search engines can find it.

Submitting Your XML Sitemap to Google

Google Search Console is a free tool offered by Google to help website owners monitor and maintain their site’s presence in Google search results.

Adding your sitemap to Google Search Console helps it quickly discover your content even if your website is brand new.

First, you need to visit the Google Search Console website and sign up for an account.

After that, you will be asked to select a property type. You can choose a domain or a URL prefix. We recommend choosing URL prefix as it is easier to setup.

Select property type

Enter your website’s URL and then click on the continue button.

Next, you will be asked to verify ownership of the website. You will see multiple methods to do that, we recommend using the HTML tag method.

Google Search Console verify site ownership

Simply copy the code on the screen and then go to the admin area of your WordPress website.

If you’re using AIOSEO, then it comes with easy webmaster tools verification. Simply go to All in One SEO » General Settings and then click the Webmaster Tools tab. After that, you can enter the code from Google there.

AIOSEO Site Verification

If you’re not using AIOSEO, then you need to install and activate the Insert Headers and Footers plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Insert Headers and Footers page and add the code you copied earlier in the ‘Scripts in Header’ box.

Add your verification code in the header section

Don’t forget to click on the save button to store your changes.

Now, switch back to the Google Search Console tab and click on the ‘Verify’ button.

Google will check for verification code on your site and then add it to your Google Search Console account.

Note: If the verification is unsuccessful, then please make sure to clear your cache and then try again.

Now that you have added your website, let’s add your XML sitemap as well.

From your account dashboard, you need to click on ‘Sitemaps’ from the left column.

Add sitemap to Google Search Console

After that, you need to add the last part of your sitemap URL under the ‘Add new sitemap’ section and click the Submit button.

Google will now add your sitemap URL to your Google Search Console.

It will take Google some time to crawl your website. After a while, you would be able to see basic sitemap stats.

This information includes the number of links Google found in your sitemap, how many of them got indexed, a ratio of images to web pages, and more.

Sitemap stats in Google Search Console

Submitting Your XML Sitemap to Bing

Similar to Google Search Console, Bing also offers Bing Webmaster Tools to help website owners monitor their website in the Bing search engine.

To add your sitemap to Bing, you need to visit the Bing Webmaster Tools website. Here, you’ll see two options to add your site. You can either import your site from Google Search Console or add it manually.

Create account in Bing Webmaster Tools

If you’ve already added your site to Google Search Console, we suggest importing your site. It saves time as your sitemap will automatically be imported for you.

If you choose to add your site manually, you need to enter your site’s URL and then verify the site.

Bing will now ask you to verify the ownership of your website and will show you several methods to do that.

We recommend using the Meta tag method. Simply copy the meta tag line from the page and head over to your WordPress admin area.

Copy meta tag to verify site in Bing Webmasters Tool

Now, install and activate the Insert Headers and Footers plugin on your website.

Upon activation, you need to visit Settings » Insert Headers and Footers page and add the code you copied earlier in the ‘Scripts in header’ box.

Add Bing verification code

Don’t forget to click on the Save button to store your changes.

How to Utilize XML Sitemaps to Grow Your Website?

Now that you have submitted the XML sitemap to Google, let’s take a look at how to utilize it for your website.

First, you need to keep in mind that the XML sitemap does not improve your search rankings. However, it does help search engines find content, adjust crawl rate, and improve your website’s visibility in search engines.

You need to keep an eye on your sitemap stats in Google Search Console. It can show you crawl errors and the pages excluded from search coverage.

Sitemap coverage

Below the charts, you can click on the tables to view actual URLs excluded or not indexed by Google.

Sitemap URLs reports

Normally, Google may decide to skip duplicate content, pages with no content or very little content, and pages excluded by your website’s robots.txt file or meta tags.

However, if you have an unusually high number of excluded pages, then you may want to check your SEO plugin settings to make sure that you are not blocking any content.

For more details, see our complete Google Search Console guide for beginners.

We hope this article helped answer all your questions about XML sitemaps and how to create an XML sitemap for your WordPress site. You may also want to see our guide on how to quickly increase your website traffic with step by step tips, and our comparison of the best keyword research tools to write better content.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

1k Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

255 Comments

Leave a Reply
  1. Christopher Ebling says:
    Mar 2, 2017 at 5:53 pm

    I only get options that say Dashboard Search Console and Go Premium I don’t see site map as an option how do I get it to do the site map so I have to pay the 97$

    Reply
    • WPBeginner Support says:
      Mar 3, 2017 at 5:09 pm

      Hey Christopher,

      The option is moved to the advanced settings pages. Please see our updated guide on setting up Yoast SEO plugin and check step 3 which shows how to enable advanced settings and then step 9 which shows how to enable sitemaps.

      Reply
  2. Deepika Bisht says:
    Feb 21, 2017 at 5:23 pm

    Yoast seo best way to create a good sitemap for a wordpress blog. Thanks for share it.

    Reply
  3. Mahmoud says:
    Feb 20, 2017 at 3:04 am

    i already have my sitemap XML , but i need to regenerate it .
    what is the best way to do that ?

    Reply
  4. chittara says:
    Jan 3, 2017 at 6:47 am

    OMG it helped me loads and loads…thanks a lot

    Reply
  5. Shane Jackson says:
    Nov 25, 2016 at 2:39 pm

    Thanks, this helped a lot!

    Reply
  6. Vin Boris says:
    Nov 16, 2016 at 8:55 am

    Very informative content. It is a good information with good knowledge, my most of doubts get cleared with this.

    Reply
  7. Justin Lanouette says:
    Nov 7, 2016 at 11:55 pm

    how do you add a sitemap to wordpress.com sites?

    Reply
  8. Abdul Asif says:
    Sep 25, 2016 at 4:50 am

    can you explain, what must be included in sitemaps, whether all posts, category, tags etc..

    Reply
  9. Angela - CRD Founder says:
    Sep 6, 2016 at 6:35 pm

    Amazing article! no-one could explain the Sitemap thing better than you. Thanks so much!! I’ve just followed all the steps (for the verification method, I chose “Domain Name Provider”, by the way)

    So my website is roughly a month old and I’ve only just added the YOAST plugin and sitemap today. How much time does it take for Google to recognize it? Right now, I have this message in my Webmaster Tools:

    “Error details: 1 Errors, 0 Warnings.

    “We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.

    “Network unreachable: Network unreachable”

    What does it mean, please?

    Reply
    • andy says:
      Feb 6, 2017 at 3:23 pm

      thanks! this is great!

      Reply
  10. Valentine says:
    Aug 21, 2016 at 9:09 am

    Nothing to comment again because the process was straight forward. Thanks so much

    Reply
    • WPBeginner Support says:
      Aug 22, 2016 at 12:07 am

      You are welcome.

      Reply
  11. Toma says:
    Aug 7, 2016 at 9:42 pm

    First off, I`d like to say “thank you” for all your support and guidance to the new WP users.

    I`ve created a sitemap, however Google is telling me that the URL is restricted by robots.txt

    My robots.txt file look like this:

    User-agent: *
    Disallow: /

    Sitemap: http://www.example.com/sitemap.xml

    Checks:
    sitemap.xml has been tested and is working as expected.
    I`ve checked the site variants (www and non-www)
    I understand that in WP Admin, under Search Engine Visibility it is possible to encourage search engines to index the site. My understanding is that doing so will modify the robots.txt file and will allow all robots to crawl my site – including the “bad” crawlers (I`ve read this on other tutorials).

    Any further assistance will be greatly appreciated.

    Regards,

    Toma.

    Reply
    • WPBeginner Support says:
      Aug 9, 2016 at 6:46 pm

      Your Robots.txt file is blocking search engines. You need to change that immediately. Try this and then check again with Google webmaster tools.

      User-agent: *
      Disallow:

      SITEMAP: http://www.example.com/sitemap.xml

      Reply
  12. danielsonjosh says:
    Jul 16, 2016 at 8:09 pm

    this is fabulous!!!!!! great work

    Reply
  13. Abhinav says:
    Jun 30, 2016 at 5:57 am

    The yoast sitemap page is showing “Warning: Class __PHP_Incomplete_Class has no unserializer in /home/content/n3pnexwpnas01_data02/78/3160178/html/wp-content/object-cache.php on line 520”, followed by url’s. This is the case with sitemap_index as well as sitemaps contained within. Sometime it shows right format and sometimes the similar error for the same post/page/index sitemap. How can I fix this?

    Reply
  14. Quanglepro says:
    Jun 17, 2016 at 12:29 pm

    Hello,

    Your tip is very detail. But can i ask some more thing. I am new wordpresser from Viet Nam, I meet the problem with sitemap of Yoast seo.

    After Save changes the Sitemap of Yoast, Then i go to Google console to add ” sitemap_index.xml ” for index.

    After add sitemap_index.xml, It just show the blue color culumn, dont have any red color column for Index.

    It is PASS or FAIL? How can i know google console indexed my sitemap or Not index for this case.

    Nice day
    Quangle

    Reply
    • WPBeginner Support says:
      Jun 17, 2016 at 8:18 pm

      If there is an error, Google will display the error. Otherwise you should see your sitemap accepted.

      Reply
      • Quanglepro says:
        Jul 17, 2016 at 11:04 pm

        It is done sir. After 2 days, it will be indexed. Google doesnt index immediately.
        Nice day.

        Reply
      • ArParvez says:
        Jul 22, 2016 at 1:18 am

        dear sit iam seeing ur video and tutorial, using how to seo wordprees ytoast. i have done it, but when i try to see xml file it tell error/page not found but when i test this link on google sitemap it say no error found, but its empty. what should i do. and also i am getting problem using wordprees, i think i have done some mistake to install wp. i have install via Android phn.and sometime when i want to delete some plugin it tell error database,can u guys help me to reinstall wordprees pls it will be greatfull. tnx

        Reply
        • WPBeginner Support says:
          Jul 24, 2016 at 4:37 pm

          It seems that WordPress is unable to connect to database server. Please take a look at our guide on how to fix the error establishing database connection in WordPress.

  15. Alessio says:
    Jun 16, 2016 at 11:22 am

    Hi guys,
    do I still need a dedicated plugin for the sitemap or does the latest version of WP come with something for the sitemap too?

    Reply
    • WPBeginner Support says:
      Jun 16, 2016 at 10:58 pm

      WordPress does not come with built-in sitemaps.

      Reply
  16. suji says:
    May 17, 2016 at 3:26 am

    After installing Yoast plugin i got the below msg!

    The plugin Yoast SEO has been detected. Do you want to import its settings into All in One SEO Pack?

    wat do i need to do?

    Reply
    • WPBeginner Support says:
      May 18, 2016 at 2:40 am

      You need to disable All in One SEO plugin. Yoast SEO and All in One SEO are both SEO plugins. Having both of them enabled on your site may cause serious problems.

      Reply
      • Suji says:
        May 23, 2016 at 10:18 am

        Hi,

        Thanks for the reply. I disabled All in one SEO plugin. I have one more query. Can you pls answer it?

        I have already verified my site using HTML file upload method, so now how can i generate a sitemap using Yoast SEO plugin?

        Reply
  17. Summer Breeze says:
    May 6, 2016 at 2:55 am

    Thank you so much! This was immensely helpful.

    Reply
  18. Jacqui Rawson says:
    Apr 30, 2016 at 8:48 am

    Thanks guys!
    This was really helpful.
    You’re making my stress levels deflate immensely with all your assistance on getting my site all SEO set up.
    Cheers

    Reply
  19. Emma says:
    Apr 28, 2016 at 10:39 am

    Thank you for the step-by-step instructions – really helped me to understand WP and Google further.

    Keep up the good work!

    Reply
  20. Abhyank says:
    Apr 27, 2016 at 1:46 pm

    “If you have a sitemap that is located on example.com/sitemap.xml, your sitemap is not being generated by our Yoast SEO plugin. It is probably generated by Google XML Sitemaps or another XML sitemaps plugin. Please disable other sitemap plugins and remove any sitemap files via FTP before enabling the sitemaps in our plugin.”

    How do i get around this?

    Reply
    • WPBeginner Support says:
      Apr 27, 2016 at 4:48 pm

      Simply go to your plugins page. See if you have a plugin installed that adds XML sitemap. If you do, then disable that plugin.

      Reply
      • Abhyank says:
        Apr 28, 2016 at 6:01 am

        I really can’t figure out if any of my plugins are making a sitemap, i don’t think i have installed any that do. So terribly confused.

        Reply
        • WPBeginner Support says:
          Apr 28, 2016 at 6:17 pm

          Then try disabling all plugins except Yoast SEO. Then try go to sitemaps, if you don’t see the message then this means one of the plugin was causing that. You can then activate plugins one by one and visit the sitemaps screen to see if the error reappears. Do that until you find the plugin causing it.

          On the other hand if you see the message even after deactivating all plugins, then it could be your WordPress theme or a manually created file on your server.

  21. Yuvraj Khavad says:
    Apr 8, 2016 at 8:02 am

    Hello,
    Thanks for this tutorial.
    Very mush informative post.

    Thanks
    Yuvraj Khavad

    Reply
  22. Dawit says:
    Mar 10, 2016 at 1:55 am

    Thanks! very helpful.

    Reply
  23. Erin says:
    Mar 7, 2016 at 3:07 pm

    Thank you for this informative article.
    I have notice that some of my pages are not included in the sitemap generated in WordPress using the Yoast SEO – XML sitemap tool. Is there a way to manually enter the missing pages or to update the sitemap to include these pages?

    Reply
  24. Galib says:
    Feb 21, 2016 at 12:22 pm

    Really easy to follow and create a site map!!

    Reply
  25. Jo says:
    Feb 2, 2016 at 11:01 pm

    Thank you! I think I have created what was needed and it was easy. Instructions were clear and easy to follow, thank you.

    Reply
  26. Annika says:
    Jan 31, 2016 at 4:25 pm

    Hi there,
    I’ve read through a lot of pages trying to explain what you did, but seriously, yours is BY FAR the best. Easy to understand, one-by-one explanations. Thanks for your great help, you probably just saved me hours and hours of work.
    Cheers,
    Annika

    Reply
    • WPBeginner Support says:
      Jan 31, 2016 at 5:35 pm

      Thanks, we are glad you found it helpful.

      Reply
  27. Magaly says:
    Jan 21, 2016 at 10:12 pm

    Great info, very useful! :)
    Now will wait for Google Analitycs to do his work :P

    Reply
  28. Suraj says:
    Jan 16, 2016 at 6:23 am

    Very helpful article n screenshots makes it easy to understand!! Thanks for posting!!

    Reply
  29. kksilvery says:
    Jan 16, 2016 at 2:24 am

    Hi,

    It was easy to understand. My question is , how can i edit my blog current sitemap?

    Regards,
    kksilvery.

    Reply
  30. Kay Collier says:
    Jan 4, 2016 at 10:52 pm

    Thank you once again for more valuable information.

    Reply
  31. Josh Watson says:
    Dec 7, 2015 at 2:56 pm

    SUPER useful article! I really appreciate the info! This saved me so much time and hassle. I had looked at a couple other guides and they were just confusing.

    I used this on my site and it really saved us!

    Reply
  32. Shailesh Jangra says:
    Dec 4, 2015 at 2:02 am

    Hi Syed Balkhi,

    Great post over sitemaps. I have one question for you.
    I have sitemap_index.xml for my website (without www ) but now I set my website to www version. I can see that all pages automatically changes with www version but sitemap_index dosn’t. Any specific reason.

    Also it shows nothing on but at sitemap_index.xml page I have complete sitemap.

    What is the mistake?

    Reply
    • WPBeginner Support says:
      Dec 4, 2015 at 8:31 am

      Since you have set your website URL on www your sitemap will be published on the same URL.

      Reply
  33. zeeshan khan says:
    Nov 25, 2015 at 6:52 am

    My site map shows the staticstics of web page but not show the staticstics of images. why not show image in my site map help me please.

    Reply
  34. Tom Horn says:
    Nov 17, 2015 at 2:54 pm

    Whenever I submit the sitemap this is the message I get:

    “Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.”

    Can you tell me what to do? Thanks.

    Reply
  35. Leo says:
    Nov 16, 2015 at 5:18 pm

    I am having serious problems regarding sitemaps for a few months ago. I am using a wordpress hosted by godaddy. I’ve installed SEO by Yoast and did the sitemaps tutorial you had. Site’s is connecting, the sitemap is there, but the specific links (posts, pages, author, etc) are pending.

    We wait 48 hours, and none. We try it so many times, re-submitted, and yet Google search console is not crawling our site correctly.

    I don’t know what to do! Does it has to do with our theme? Godaddy told us there’s nothing blocking it on their side. And every time i look on the internet, many people are still having the same issue. Noticed that our site is working correctly and so are the feeds. But we are not crawling anything… Please if somebody already solved this, tell us, maybe someone else will going to solve this terrible issue

    Reply
  36. Jess @ Make and Do Crew says:
    Nov 9, 2015 at 5:43 pm

    Thanks for this! It’s the clearest explanation I’ve seen. How long does it take for Google to crawl it? I can’t seem to get to that final visual you showed with the total number of pages and images indexed, although I haven’t gotten any sort of message that google is still working on it. Like, should I check back tomorrow? And if so, can you tell me exactly what to click on to find the confirmation that the site has been fully crawled? Thanks again!

    Reply
    • WPBeginner Support says:
      Nov 10, 2015 at 11:35 am

      Give it at least 48 hours.

      Reply
  37. John says:
    Oct 28, 2015 at 5:25 am

    Thanks for the info. As an addition: if the sitemap url gives a 404 then try lowering the default value of 1000 for the maximum number of lines. Worked for me.

    Reply
    • Tamsin says:
      Apr 15, 2016 at 5:04 pm

      Thank you for your solution. I changed the default value to 200 and it works! I have spent the last week trying to get my head around this stuff being a complete beginner. You have saved my sanity.

      Reply
  38. Israel says:
    Oct 7, 2015 at 8:49 pm

    please, after i clicked on the XML Sitemap

    what i got is error,

    Error 404 Not Found
    Oops! We couldn’t find this Page.

    Please check your URL or use the search form below.

    Please what can i do to get mu sitemp. thanks

    Reply
    • Taranpreet Singh says:
      Oct 25, 2015 at 10:56 pm

      same problem is with me. have you solved the problem.

      Reply
      • Austin says:
        Oct 27, 2015 at 12:37 pm

        Same issue, no sitemap on my free .wordpress.com site. How do we fix this or create one?

        Reply
  39. ramin ziafat says:
    Sep 1, 2015 at 5:15 am

    thank you it was great

    Reply
  40. surya teja says:
    Aug 17, 2015 at 8:40 pm

    thank you for the great article .

    i am having a problem . i am using free wordpress of name ( free domain sitename.wordpress.com ) i am not understanding how to add the site map at now

    Reply
    • WPBeginner Support says:
      Aug 17, 2015 at 11:33 pm

      Please see our guide on the difference between WordPress.com and WordPress.org.

      Reply
  41. Nitika says:
    Aug 9, 2015 at 5:03 pm

    nice article! apart from this do we need to enter google authorisation code?

    Reply
  42. Leo says:
    Aug 6, 2015 at 4:07 pm

    Hi,

    Thank you so much for the easy-to-follow instructions and well explained topic about sitemaps.

    My question is How to add a ‘single’ page or post which displays all your posts. I hope you got what i mean.

    I saw a blog, at the bottom of the page there is a clickable link called ‘sitemap’. when you click it, it will bring you to a page containing all the published post or articles or i suppose, “the sitemaps”.

    How can i do these type of ‘clickable link’???

    Thank you very much.

    Reply
    • WPBeginner Support says:
      Aug 7, 2015 at 4:05 pm

      You can try this plugin.

      Reply
  43. Naveen says:
    Jul 25, 2015 at 10:05 pm

    Nice article ! But when i submitted the sitemap, it is showing 0 url submitted at the dashbard area

    Reply
  44. Kris letcher says:
    Jul 16, 2015 at 9:38 pm

    Thanks for the concise information.
    Kris

    Reply
  45. Deb Slater says:
    Jul 13, 2015 at 5:41 pm

    Wow. wpbeginner is the very best instruction I have found for my WordPress site. Thank you.

    Reply
  46. Harrison Okoyibo says:
    Jul 5, 2015 at 1:59 am

    I just want to say a big “THANK YOU” for your efforts providing the internet wordpress users with useful, and relevant information, articles, and tutorials. Wishing you and your team more of God’s blessing. Shalom!

    Reply
  47. Luigi says:
    Jun 24, 2015 at 4:34 pm

    Thank you for this tutorial! It was really helpful! :)

    Reply
  48. Ana says:
    Jun 2, 2015 at 10:49 am

    Thank you for your tutorial and info. It really helped me with the sitemap! Great job!

    Reply
  49. Ezekiel says:
    May 13, 2015 at 5:59 pm

    Thank you for this explanation. I am indeed grateful for it.
    Your tutorials in this site has always been helpful

    Reply
  50. Kaleem Ullah says:
    May 1, 2015 at 8:15 am

    Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead. need help

    Reply
« 1 2 3 4 »

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
PushEngage
PushEngage
Increase your website traffic & revenue with push notifications. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
LiveChat logo
LiveChat Inc Coupon
Get a 30 day free trial and 30% OFF LiveChat, one of the best live chat service providers for WordPress users.
LearnDash
LearnDash Coupon
Get the lowest price on the best learning management system (LMS) plugin for WordPress.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.