How To Create XML Sitemap? Guide For WordPress + Blogger

Have you ever seen a Map?

I am sure you have, A map contains every single place in your area.

It helps you to travel road by road, street by street. A map helps you in finding direction for the places you want to go to

Do you know? Websites also have their map, which makes easy for the search engines to crawl a website.

A website map is usually known as Sitemap. I am sure you have listened to this word before. 

A Sitemap of a website is an XML file that contains URL of all your posts, pages, images and other things that your website has.

In this post, You will learn What is Sitemap? How to Create XML Sitemap for WordPress and Blogspot Both? And the last How To Submit Sitemap in Google Search Console?

What Is Sitemap?

What Is Sitemap?

The Sitemap protocol allows a webmaster to inform search engines about URLs on a website that are available for crawling. A Sitemap is an XML file that lists the URLs for a site. Wikipedia

In more simple words, A sitemap is a map of a website, which helps search engine bots to know where are the posts, pages and images so they can easily crawl them and index them in search engine result pages.

Below’s image will give you a clear idea about How a WordPress Sitemap looks?

WordPress Sitemap

You can see the above’s image that Sitemap basically contains all your post, pages, images and other item links at the one place.

Why Do You Need To Create XML Sitemap For Your Website?

When you start your blog, Google won’t index your blog automatically.

Creating an XML Sitemap for your blog will help Google to crawl all your pages and posts on your blog. It helps Google to crawl your blog FAST.

Here are the benefits why you should add XML Sitemap in your blog:

  • Fast Indexing: Sitemap help Google and other search engines to index your website, every post and pages of your website. It helps in fast indexing your website…
  • Prioritize Crawling: Sitemap let you ask Google to prioritize crawling certain pages of your blog by adding metadata.
  • Rich Media Content: Sitemap allows Google to take additional information from Sitemap into account for search, media like images and videos.

Creating a sitemap for your website is one of the initial steps you need to take when starting a new blog. It helps in indexing your website fast in search result pages.

How To Create XML Sitemap?

Creating a sitemap is pretty easy especially when you are using WordPress as your blogging platform. Because WordPress has plugins for each task which makes that easy.

But if you are a blogger user then don’t worry because I will show you an easy method to create an XML sitemap for blogger.

Create A WordPress Sitemap?

WordPress has many plugins for creating WordPress sitemap. Here is the list of plugins that you can use for creating your XML sitemap.

Must Read:

Yoast SEO

I am 100% sure that you are aware of Yoast SEO plugin and maybe you are using it too. Yoast SEO is the best ever plugin for SEO in WordPress plugin directory. 

Must Read:

Login your WordPress admin dashboard and then go to SEO>Sitemap.

You can see General Settings on the next screen. And your XML Sitemap link as shown in the image.

Sitemap Yoast SEO

You can choose which post type should be added to XML sitemap. Go to Post Type Tab in XML Sitemap screen.

Yoast SEO Sitemap

This is all you need to do for creating your sitemap using the Yoast SEO plugin. It is very simple, Isn’t it?

RankMath SEO

RankMath SEO is the new name in the WordPress SEO, I am using it for all my blog and It is amazing…

RankMath SEO offers many amazing features for FREE that Yoast SEO offers in their Premium plan.

You can use RankMath SEO for creating WordPress sitemap for your blog. It works the same as Yoast SEO does.

For creating an XML sitemap for your WordPress websites, go to WordPress dashboard> RankMath>Dashboard and activate the Sitemap.

how to create xml sitemap

Once the sitemap is active, go to RankMath>Sitemap Settings where you have to set up your WordPress Sitemap.

On the setting screen, you can see the WordPress sitemap URL where your sitemap will be live. Choose the no. of links should be shown on each sitemap page.

If you want to show images in Sitemap then make it On.

WordPress sitemap

This is how you can create a WordPress XML Sitemap for your WordPress website using RankMath SEO.

Google XML Sitemaps

Google XML Sitemaps

Google XML Sitemaps plugin is especially for creating XML Sitemap for WordPress website.

If you are not using Yoast SEO plugin then you should use this plugin. It is a very simple plugin for creating Sitemap for WordPress site.

It has 5 Star rating and more than 2 Million active installs. Now you can imagine how cool this plugin is.

For Blogger Users

Now you have understood that it is very easy to create a sitemap for WordPress website. Because WordPress has tons of plugins for performing the various task.

But not that much easy for Blogger users, they have no special plugins or tools for performing a task.

I also have a blog on Blogger for testing and learning about the Blogger platform, So I will show you how you can create a sitemap for your Blogger blog?

Here is the step by step guide which is going to help you in creating XML Sitemap for your Bloggers site.

Go to Blogger Sitemap Generator.

Blogger sitemap

Enter your Blogger website full URL in the box with the http:// and then click on Generate Sitemap.

Then it will automatically generate your sitemap, you can see a box like below’s image.


Copy this and go to your Blogger dashboard then Settings>Search Preferences, enable Custom robots.txt then paste the text you copied.

Custom Robots.Txt

This is how you can create a sitemap for your blogger site.

How To Submit Your Sitemap In Google Search Console?

Now you have a sitemap for your blog, it is the time to submit your sitemap to Google search console.

Google search console is a free dashboard offered by Google for the webmaster that allows you to track your website performance and it also notifies you about the errors so you can fix them.

First of all, you need to set up your Google search console account. If you have an account already and added your domain also, then it’s great.

You can use your Google ID for login into Google Search console.

How To Create XML Sitemap? Guide For WordPress + Blogger

You will see a screen which will ask you to enter your domain in Google Search Console. There are two options Domain or URL prefix, enter your domain in Domain box.

Add your domain

Now you need to verify your domain by adding a TXT record in your DNS records. Once you added that, click on verify button below.

Verify your Domain GSC

You will see an Ownership verified message if your domain verification is done.

Ownership Verified

Now you have a GSC account where you added your domain and verified it successfully. Now submit your Sitemap by going to Sitemaps option at the left side.

submit sitemap in Google search console

Add your sitemap URL in the box and click on Submit button to submit your XML Sitemap.

How To Create XML Sitemap? Guide For WordPress + Blogger

Note: You only need to enter your XML Sitemap URL without your domain, let’s say your Sitemap URL is yourdomain.com/sitemap_index.xml So, you only need to enter the sitemap_index.xml

Google will take some time to verify your sitemap and start crawling. Once it is done, you will see a Success message with your submitted sitemap.

How To Create XML Sitemap? Guide For WordPress + Blogger

FAQ About XML Sitemaps

If you have still some questions in your mind, I have tried answering some question related to XML sitemap in this FAQ Section.

If your question didn’t cover here, feel free to drop a comment…

What is a website sitemap?

A Sitemap is an XML file which contains everything your websites has, be it posts, pages or images. It helps search engines to crawl your website FAST.

How do I find a sitemap for a website?

You can easily check if your website has a sitemap or not by going to Google search console>Sitemaps. If you see any sitemap added there it means that you have a sitemap for your website.

What should a Sitemap contain?

A Sitemap contains all your posts, pages and images link that your website has. It helps search engines to crawl your website because search engines’ bots don’t need to go anywhere to crawl your website rather they can easily crawl from the sitemap.

Why is Sitemap important?

A sitemap is very important for every website or blog. Because it helps search engines to crawl your website and index its pages in their database.

There is no downside of having a sitemap in SEO, so you don’t need to worry about it.


A sitemap is a small file that contains all pages, posts, and images link of a website that helps search engines’ bot to crawl a website.

If you are a WordPress user, You can easily create a WordPress sitemap using WordPress SEO plugins like Yoast SEO or Rank Math SEO.

There are many Sitemap generators also available that can help you in creating a sitemap for your blog.

I hope you liked this post if you did then don’t forget to share it with your friends. of if you have any query then drop that in the comment section.

XML Sitemap

🙏 One Humble Request!

I’ve put a lot of effort and done lots of research in writing this post to provide value to our blogging community. I will be glad if you share this post on social media. Sharing is caring 🤗

Share on facebook
Share on twitter
Share on telegram
Share on pinterest
Ravi Dixit

Ravi Dixit is a Blogger and Affiliate Marketer, He is the founder of StayMeOnline Who Loves to help others. Travelling and learning new things online are his first love. "I only want a life without any boundaries- Ravi Dixit"

Affiliate Disclosure: Some of the links on this page are affiliate links. If you buy any product using an affiliate link placed on this blog, it will not add any extra cost in the total price of the product rather I will get some commission from the company. This will show me 💖 from your side, for more details read this...

Join Community Of Like-Minded People

StayMeOnline Community For Bloggers (2)

6 thoughts on “How To Create XML Sitemap? Guide For WordPress + Blogger”

Leave a Comment

Share via
Copy link