Easy way to generate google xml sitemaps on WordPress

In This Google Webmaster Tutorial, I will show you how to generate google XML sitemaps on any WordPress website in less than 10 – 15 minutes.

But before I proceed, I wouldn’t want to make this tutorial technical; most especially for beginners like you and I, so I will break it down for easier understanding.

What is XML?

XML stands for Extensible Markup Language which is a simple and structured text-based format for representing structured information such as data, configuration, books, invoices, transactions, and many more. I came across this language when I started coding in 2021, and I had to lay it down here just so you can understand what XML sitemap is all about.

What is XLM Sitemap

Now we can simply define an XML sitemap as a file that contains all the necessary information belonging to a website. With this, Google can easily understand what that particular website is about through crawling and indexing.

Your Sitemap contains details such as

  • Your website pages
  • Your website posts/content
  • Your archives
  • Your Tags
  • Your categories

Why is Sitemap important for SEO?

XML sitemaps are important for SEO (search engine optimization) because it makes it easier for search engines to understand what your website is talking about and how to rank it. When you submit your sitemap to any search engine you have automatically allowed your website to be crawled

During this period of crawling, every single detail will be scanned through the google bot (if you have submitted the sitemap to google console). The relevant pages will be selected and indexed on google.

In summary, a Sitemap is a tool that can be used to improve your SEO so it is highly recommended.

How to create a sitemap without a WordPress plugin?

This is the simplest method, with this method, you can easily create an XML sitemap in a few seconds.

All you need to do is to add wp-sitemap.xml to the end of your domain name, and WordPress will show you the default XML sitemap.

For example, if your domain name is mountain.com you will get something like mountain.com/wp-sitemp.xml

Read: How to install Free SSL/TLS Certificate in cPanel

How do I create a sitemap XML on WordPress with Yoast SEO?

To create a Sitemap on WordPress, firstly you need to install a plugin called Yoast SEO.

This is a free plugin that you can use to generate your sitemap for free.


In your WordPress website, head over to the left tab and click on Add new plugin.

Search for YOAST SEO and install and activate it on your WordPress website.

Easy way to generate google xml sitemaps on WordPress.

Head over to the settings tab in your YOAST SEO and click on the “General” settings.

Select the “features” tab and then, scroll to the bottom and select the “XML sitemap” option (make sure it is turned on) after that, you need to click on the “See the XML sitemap” link to view your XML live

Easy way to generate google xml sitemaps on WordPress.

Your XML sitemap will be shown to you, all you need to do is to copy the link at the top of your chrome/browser.

It should look like this your website.com/sitemap_index.xml

Easy way to generate google xml sitemaps on WordPress.

You have successfully generated your XML Sitemap.


Leave a Comment