Free Create XML Sitemap For Blogger & WordPress In 2022

XML Sitemap For Blogger & WordPress: After creating a new website, it is necessary to create a sitemap so that all the URLs of this site can be easily indexed by different search engines.

Because when you apply for indexing a website in Google, Bing, Yandex, or any other search engine. Then all these search engines will be able to crawl the sitemap of your site and index all the URLs of the website.

Websites are usually created by bloggers and WordPress. So in today’s post, I will discuss in detail How to Create a Sitemap in WordPress and Blogger all online and offline.


Online Create XML Sitemap For Blogger

To create a sitemap of a blogger site online, you need to go to the website. Then enter the URL of your domain in the Blog URL option and click on Generate XML Sitemap below.

Online XML Sitemap Generator for For Blogger

Now the HTML code of the Sitemap will come in front of you. Then you have to copy the code from User-agent: * In the following part of these codes and put it in the Custom robots.txt option of Blogger settings.

Below is how to add code to XML Sitemap For Blogger.

Read More:


Offline Create XML Sitemap For Blogger With Html Code

There are many people who have trouble creating sitemaps online. If they want, they can use any one of the two codes given below.

And to use these codes you just need to enter the domain URL of your website instead of here your domain name paste. Below is where these codes should be placed in the Blogger settings.


xml sitemap Html Code:1

User-agent: *
Disallow: /search
Disallow: /category/
Disallow: /label/
Disallow: /tag/
Allow: /

Sitemap: here your domain name paste/atom.xml?redirect=false&start-index=1&max-results=500


xml sitemap Html Code:2

User-agent: *
Disallow: /search
Disallow: /category/
Disallow: /label/
Disallow: /tag/
Allow: /

Sitemap: here your domain name paste/sitemap.xml


Where To Put Blogger XML Sitemap

To add an XML Sitemap to Blogger, you must first copy one of the above codes. Then go to Blogger’s setting option and turn on the Enable custom robots.txt option in Crawlers and indexing option.

Where to put Blogger XML Sitemap


Now click on the Custom robots.txt option below, post the XML Sitemap code and click on Save. Below are all the steps on how to add Blogger XML Sitemap Code to Google Search Console.


How To Create XML Sitemap For WordPress

Adding XML Sitemap to WordPress requires Rank Math and Yoast Seo Plugin. So first of all you have to install one of these two plugins.

Automatic XML Sitemap is created by installing either of these two plugins. However, those who want to create a sitemap manually, follow the procedure given below.


WordPress xml sitemap Html Code

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: here your domain name paste/sitemap_index.xml


Manually Add XML Sitemap In Cpanel

Those who want to add XML Sitemap manually can go to Yoast SEO or Rank Math plugin and edit the sitemap code. Or you can go directly to Cpanel and manually place XML Sitemap.

Follow the steps below to set up an XML Sitemap for Cpanel.

step-1: First, log in to Cpanel.

step-2: Then click on Cpanel’s file manager option.

step-3: Now click on the public_html Folder.

step-4: Then come to robots.txt and open the file by right-clicking on the mouse and clicking on the edit option.

step-5: Now copy and paste the code given above.

step-6: In place of (here your domain name paste) in these codes, click the save button with the URL of your domain.


How To Add Blogger Or WordPress XML Sitemap In Google Search Console

How To Add Blogger Or WordPress XML Sitemap In Google Search Console

Blogger and WordPress have different ways of adding XML Sitemap to the Google Search Console. However, this post will only show you a method that both WordPress and Blogger users can use.

Code: Here Your Domain/robots.txt

So first copy the code given above and paste it into the Search Address Bar of any browser. Then in place of Here Your Domain in the code, click on Enter with the URL of your domain.

The code of the sitemap of your website will come in front of you. So now copy the URL of the Sitemap written part at the bottom of the code. You can see which URL to copy is given in the image above or the example is given below.

Example to see Sitemap URL


Now copy and paste the XML Sitemap URL into Google Search Console and add a new sitemap option and click submit. Then if Success comes, you will understand that XML Sitemap has been placed correctly.



In this post, I have tried to explain in simple terms all the ways to create an XML Sitemap For Blogger and WordPress. If you like our site, keep subscribing to get this kind of information all the time.

Hi Guys I am Tajul Islam. I write articles on this site about Games Review, Sports, News, Technology, Blogging, windows, Small Business Ideas, Gadgets, Tricks, and much more.



Please enter your comment!
Please enter your name here

Most Popular