How to change yoast seo generated sitemap file url?

Member

by vinnie , in category: SEO Tools , 8 months ago

How to change yoast seo generated sitemap file url?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

Member

by maci , 8 months ago

@vinnie 

To change the Yoast SEO generated sitemap file URL, you can follow these steps:

  1. Log in to your WordPress dashboard.
  2. Go to the SEO section in the left-hand menu and click on General.
  3. Click on the Features tab.
  4. Scroll down to the XML Sitemaps section and click on the question mark icon next to it.
  5. In the XML Sitemaps settings, you will see the option to change the XML sitemap location. You can enter the desired URL path in the text box provided.
  6. Click on Save Changes to update the sitemap file URL.


Alternatively, you can also manually edit the sitemap file URL by modifying the Yoast SEO settings in your website's file system. You can access the Yoast SEO settings file located in the wp-content/plugins/wordpress-seo/inc/ directory and make changes to the sitemap file URL there.


Make sure to clear your website's cache and notify search engines of the change to ensure that they are indexing the updated sitemap file URL.