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:

How to Make WordPress Show Widgets on Specific Pages

By default, WordPress displays the activated widgets on all pages across your website. However, there’s a way to make the platform display them only on selected pages. In the following paragraphs, you will read how to do so.   How to Make WordPress Show Widgets...

How to Edit Footer Widgets in WordPress

Editing your footer widgets can make your website more practical and user-friendly and increase user engagement and conversion rates. In the following paragraphs, you will read how to access the footer widget settings and all the ways you can personalize it.  ...

How to Backup Your WordPress Site

To backup your website means to make a full copy of your site’s content, data, and settings as they were at a specific point in time. The idea is that you can replace your current site with the backup version in case an irreversible issue occurs, or you simply don’t...

How To Change Fonts in WordPress

Accessing and changing the font settings is a straightforward process. You can tweak your fonts either via the Theme Customization page or via a plugin. Either way, there are plenty of options for you to experiment with.   How To Change Fonts in WordPress  ...

How to Add Logo to the WordPress Header

There is a default way of adding a logo on your site, which is available with almost all themes. Keep in mind, however, that there are WordPress themes that are created with a different approach and might well come with a different way of accessing the customization...

Ready to Create Your Website?