How To Create A Sitemap In WordPress Without A Plugin

create a sitemap

Have you ever wondered to create a sitemap in WordPress site of yours? A sitemap helps search engines easily navigate through your website content and it provides them with a list of your content in a format that is easy to read for machines. 

In this post, I am going to show you how to create a sitemap in WordPress. But before doing that let’s know some basics about sitemap. 

What Is A Sitemap

A sitemap is a list that is navigated by both search engines and its visitors. Sitemaps inform search engines about the changes that you bring in your website structure. These maps help bots with faster indeed and crawling. 

Difference Between XML And HTML WordPress Sitemap

Sitemaps are of two types XML and HTML. 

XML: This type of sitemaps contains metadata together with the website’s URLs and all the information, URL update information and how soon the changes occur, etc. 

HTML: This type of sitemap provides straightforward navigation for the visitors of your website. It specifies which pages are the shopping pages or contact us pages. It makes your website user-friendly and gives you the benefit of ranking in search engines. 

It is recommended to have XML and HTML both sitemaps in your WordPress website. 

How To Create A Sitemap In WordPress Without A Plugin

If you don’t like to use a plugin then this is the method for you. Until WordPress 5.5 they didn’t have built-in sitemaps. But from August 2020 WordPress have introduced a basic XML sitemap feature. 

This feature allows you to create an XML sitemap automatically on your WordPress website without using a plugin. You will be able to simply add wp-sitemap.xml at the end of your domain name, and WordPress will display you the default XML sitemap. 

This feature is added to WordPress to make sure that all of the new WordPress websites don’t miss the SEO benefits of an XML sitemap. However, this XML sitemap is not very flexible and you cannot control what to add or remove easily. 

Luckily SEO plugins come with their own sitemap, which is better and give you full control to add or remove anything from your WordPress XML sitemaps. 

How To Create A Sitemap In WordPress With A Plugin

There are a couple of plugins that you can use to create a sitemap in WordPress. But among those Rank Math is best. This plugin helps you to track readability and keyword density and it takes care of all the technical aspects related to your content. 

First, install and activate Rank Math plugin from the WordPress plugins directory. 

After activation navigate to Rank Math -> Dashboard from your WordPress dashboard. Then scroll below and search for Sitemap. 

Make sure sitemap is turned on. For any settings click on the settings button or navigate to Rank Math -> Sitemap settings. 

At here you will found more settings related to sitemap. To check your sitemap index click on the link at the very above. 

They you will be forwarded to a link that contains a list of sitemap URLs of your website.

How To Submit XML Sitemap To Google

Before you submit XML sitemap to Google, you have to verify the site owner via Goole Search Console.

When you verify it, find your website through Google Search Console.  Then navigate to Index -> Sitemaps and enter your WordPress sitemap URL. 

Click on the submit button. 

Now Google will take a few days to process your submission and crawl your pages. If your website comes with a lot of images and videos then you should also create a sitemap for them as well. 

Final Words

I hope now you will be able to create a sitemap in WordPress site of yours. If you face any problem feel free to share it with me. I will help you as much as I can. If you liked the post then share it with your friends and don’t forget to leave your thoughts in the comment box below. 

Leave a Comment

Your email address will not be published.