How To Generate Xml Sitemap With Yoast


An XML sitemap is a file that contains a list of all the pages on your website. It helps search engines like Google to crawl and index your site more efficiently. In this article, we will show you how to generate an XML sitemap with Yoast, a popular WordPress plugin.

Step 1: Install and Activate Yoast SEO Plugin

The first step is to install and activate the Yoast SEO plugin. Go to your WordPress dashboard, click on “Plugins” in the left-hand menu, and then click on “Add New”. Search for “Yoast SEO” and install it. Once installed, activate the plugin.

Step 2: Generate XML Sitemap

After activating the Yoast SEO plugin, go to your WordPress dashboard and click on “SEO” in the left-hand menu. Scroll down to the “XML Sitemaps” section and click on “Generate XML sitemap”. This will generate an XML sitemap for your website.

Step 3: Submit XML Sitemap to Google

Once you have generated the XML sitemap, you need to submit it to Google. Go to your Google Search Console account and click on “Sitemaps” in the left-hand menu. Click on “Add/Test Sitemap” and enter the URL of your XML sitemap. Click on “Submit” and wait for Google to crawl and index your site.


In conclusion, generating an XML sitemap with Yoast is a simple process that can help improve your website’s search engine optimization. By following the steps outlined in this article, you can create an XML sitemap and submit it to Google to ensure that your site is crawled and indexed efficiently.