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 use Gravatar with Your WordPress Profile

Gravatar is a service that allows WordPress users to create a profile with an avatar image that can be used on various web places such as online blogs, comment sections, and email accounts. Setting up your profile is one of the first things you should do when you...

How to Use the WordPress Text Editor

When you start learning WordPress, you will notice that there are two main editors that you can use to create new pages and publish new blog posts. The one is the so-called Classic Editor and the other one is the Text Editor. Both are very handy and both can be used...

How to Change Author Slug in WordPress

After we discussed what are WordPress permalinks, how you can change the permalink structure, and how to edit the slug, now it is time to read how you can change the author slug. Changing the author slug means adding the author’s name of a given publication in your...

How to Update WordPress

When learning how to create a WordPress site, one of the first things you should read about is how to update your themes, how to update your plugins, and how to update the whole system itself. Updating WordPress is a standard maintenance task and should be performed...

How to Delete Your WordPress Website

Maybe it is time to delete your WordPress website – you learn how to build a website, but want to start the process from scratch, or maybe your business endeavor has come to an end, or you simply want a break from building and maintaining websites. Regardless of the...

Ready to Create Your Website?