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 fix HTTP Error 410 Gone in WordPress

HTTP Error 410 is a response status code that your WordPress website displays in the event of a requested file that is no longer available on the requested server now and in the future. To be labeled as a 410 error, the response code also must not include a forwarding...

How to Fix HTTP Error 409 Conflict in WordPress

It is highly likely to stumble upon various error messages when creating your WordPress site. One such is HTTP Error 409 Conflict. Although not so popular such as Page not Found or 429 Too Many Requests, it can still pop up when at least expected. This is why it is...

How to Fix Error 408 Request Timeout in WordPress

Error 408 Request Timeout is a client-side error code – it indicates that the request the Internet browser has made to the web server takes too much time and the server terminates the connection. Indeed, this is the reason why WordPress displays 408 Request Timeout....

How to Fix Error 407 Proxy Authentication Required in WordPress

The 407 Proxy Authentication Required is a type of error that WordPress displays when the server is unable to complete a request. This is a specific error, which indicates that there is a lack of authentication when a proxy server is used between the communication of...

How to Fix Error 406 Not Acceptable in WordPress

Although Error 406 Not Acceptable is not as common as Error 404 page not found, there’s still a chance that you can stumble upon it when working on your site. Since this is a 4xx error message, it indicates that something’s wrong with the client side of the...

Ready to Create Your Website?