How To Create A Sitemap In WordPress ( XML & HTML)

SEO is an important factor for your blog to rank higher. You may have a wonderful blog with many knowledgeable articles but if the search engine could not discover that then that wonderful blog has no value. A Sitemap solves this problem. Let’s learn in this article 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.

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 sitemap and we will find out how to create a sitemap in WordPress

Also Read: How to install 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 general visitors. 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

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

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

how to create a sitemap

HTML sitemap

Unlike XML sitemap which is purely for search engines, the HTML sitemap is for general visitors. This helps them no 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 link 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 a sitemap

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 ” 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. A detailed step by step instruction is mentioned in this article.

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 must for visitors. If you have both sitemaps it will add value to your website in terms of search appearance and website credibility.

Recommended Read: 5 Best SEO plugin for WordPress

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 sitemap and the benefits of sitemap.

That’s all I have in this article. Hopefully, you got some useful information in 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

We will be happy to hear your thoughts

Leave a reply

16 − one =