Home » WordPress Tutorials » Administration » How to Create an XML Sitemap in WordPress

How to Create an XML Sitemap in WordPress

Adding an XML sitemap to your WordPress site is a great way to speed up the search engine indexing process, so your pages appear in search results.

However, to benefit from fast indexing and ranking, you should create an XML sitemap.


How to Create an XML Sitemap in WordPress

For this demonstration, we will use a WordPress plugin to create a sitemap.  This is by far the fastest and easiest way of generating one.

There are many plugins that generate XML sitemaps. For this demonstration, we will be using Yoast SEO.

First, you need to install and activate the plugin.

Then, go to the plugin’s settings.

In the context of Yoast, we go to General->Features. From this tab notice that there’s an XML Sitemaps section switched on. This means that this particular plugin has automatically generated a sitemap. However, if the feature is switched off, you can quickly activate it by clicking it:

The process is similar to any other plugin you decide to use for generating an XML sitemap.


Adding an XML sitemap to your website is a very effective way to allow search engines quickly index your site and start adding your pages to search results. Although it is not necessary, creating an XML sitemap is greatly beneficial for any website, especially a new one.

If you are interested in the topic of sitemaps, then have a look at what an HTML sitemap is, and how to submit yours to search engines.



Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

10 Best WordPress Themes for Gutenberg

If you craft your WordPress website by using Gutenberg, then it is likely that you have thought about working with a block editor-compatible theme. If that is the case, then you should know that there are numerous WordPress themes that are meant to be a perfect fit...

How to Copy a Page with WordPress Gutenberg Editor

Looking for ways to copy your WordPress web pages? The Gutenberg block editor got you covered. In this article, you will read about 3 different methods you can instantly apply when crafting your WordPress website.   How to Copy a Page with WordPress Gutenberg...

How to Add Tabs to Your WordPress Site with Gutenberg

Tabs are quite useful in numerous situations and can be a fresh addition to your WordPress websites. Massively used to showcase content categories, news, and various other types of posts in a very structured manner, tabs contribute to making your site content more...

How to Create Tables in WordPress Using Gutenberg Editor

Creating a table in WordPress with the Gutenberg Block Editor is a straightforward task. Should you need to add one or several tables to your pages, the following paragraphs explain how to do so.   How to Create Tables in WordPress using Gutenberg Editor  ...

5 Best WordPress Slider Plugins for Gutenberg

When crafting your WordPress website, it is not only important to publish informative and well-structured content, but it is also crucial to make your web pages as aesthetically appealing as possible. An effective way of making your site more beautiful is by inserting...

Ready to Create Your Website?