How To Create A Sitemap In WordPress [ The Easy Way]

In order to search engines to know about the content of your website, you need to submit a sitemap to search engines. That makes the indexing faster. So in this article let’s learn about How To Create A Sitemap In WordPress

What Is A Sitemap?

A Sitemap, as the name suggests is the complete map of your site. A sitemap contains links to all pages, posts, and categories of your blog.

When a search engine crawler crawls your website it usually looks for a sitemap and crawls all those links available in that sitemap.

Whenever there is a content update in a blog, a new sitemap gets crawled by search engines.

Types Of Sitemaps

Usually, there are two types of sitemap

  • XML sitemap
  • HTML sitemap

Both sitemaps have their purpose and impact on SEO. In this article, we will talk about these two types of sitemaps and we will find out how to create a sitemap in WordPress

XML sitemap

An XML sitemap is usually for the consumption of search engines. It has the URL of all contents of your blog along with other information like when the content was created when the content was modified etc.

Though XML sitemap is accessible to common visitors also but it’s of no use for them. Search engine crawler detects XML sitemap and crawls all contents in the sitemap.

In WordPress there are different sitemaps gets created for content, image, and videos. When there is a change in content XML sitemap files also get updated for search engines to crawl updated content.

XML (extensible markup language) is machine readable language useful for search engines to crawl your website content easily and quickly

Benefits of XML sitemap

The main benefit of having a sitemap for your website is that it helps your website content to appear in the search result.

There is no guarantee that all links of the website will be crawled and indexed but at least Google will be aware of your website content.

One more benefit is that whenever your website content is updated the same gets updated in the search engine also. Everything gets updated automatically.

An XML sitemap is also useful to let Google or other search engine know about the media contents of your blog as WordPress creates a separate sitemap for all media contents like images, videos.

How to create an XML sitemap

The process of creating and submitting sitemaps to the search engine is done by a couple of plugins. Once you connect search engine API to these plugins, the sitemap submission and updates are done automatically. Below are some popular Plugins which does the job.

  • Jetpack
  • Yoast
  • All in one SEO
  • Rank Math

A snapshot of the XML sitemap is shown below so that you can have an idea of what it contains.

How To Create A Sitemap In WordPress
XML Sitemap

HTML sitemap

Unlike XML sitemap which is purely for search engines, the HTML sitemap is for general visitors. This helps them to navigate your website easily. It also gives an overview of your website content along with links so that they can view their preferred articles.

Benefits of HTML sitemaps

Although HTML sitemaps do not have an impact on SEO or overall blog visibility it adds value to your website.

Visitors will be pleased to get all content links on one page instead of browsing all pages and categories. Having a sitemap is mandatory if you want Google to place ad’s on your blog.

How to create an HTML sitemap

Well, for each and everything WordPress has a plugin. That’s why we use WordPress.Right? So for creating an HTML WordPress has a large number of plugins in the repository.

Out of all those plugins, my suggestion would be to use the ” WordPress sitemap” which is very easy to use. You just have to create a page and paste the shortcode ” sitemap“. Once done it will populate the sitemaps on that page.

Do You Know?

XML sitemaps are for search engine crawlers and HTML sitemaps are for general visitors

Do I need to use both types of sitemap?

I would prefer to use both as XML site map is a must for search engines and HTML sitemap is a good for visitors. If you have both sitemaps it will add value to your website in terms of search appearance and website credibility.

Conclusion: How To Create A Sitemap In WordPress

A sitemap is a must nowadays if you want to put your blog into search results. Hopefully, this article could able to give an insight into sitemaps and the benefits of sitemaps.

That’s all I have in this article. Hopefully, you got some useful information from this article. If you have any questions, then do write in the comment section and I will be happy to answer you.



Rajib is the Co-Founder and the Lead Product Analyst of RiansTech. A BTech in Mechanical Engineering and a veteran in the Home Appliance industry with over 17 years of experience in designing appliances for industry leaders like GE and Whirlpool. He also runs a successful niche blog (RiansClub) on Mechanical Engineering