How to edit sitemap.xml generated by yoast?

Member

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

How to edit sitemap.xml generated by yoast?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by ervin.williamson , 8 months ago

@delpha 

To edit the sitemap.xml generated by Yoast SEO plugin, follow these steps:

  1. Log in to your WordPress dashboard.
  2. Go to the Yoast SEO plugin settings by clicking on SEO on the left-hand side menu.
  3. Click on General in the Yoast SEO menu.
  4. Click on the Features tab at the top of the page.
  5. Scroll down to the XML sitemaps section and click on the question mark icon next to XML sitemaps to expand the options.
  6. Click on the See the XML sitemap link to view your sitemap.
  7. Copy the URL of the XML sitemap. It will typically be something like https://yoursite.com/sitemap_index.xml.
  8. Paste the URL into your browser and press enter to view the sitemap as an XML file.
  9. Download the sitemap.xml file to your computer.
  10. Open the sitemap.xml file in a text editor, such as Notepad or TextEdit.
  11. Make any necessary edits to the sitemap.xml file, such as adding or removing URLs.
  12. Save your changes.
  13. Upload the edited sitemap.xml file back to your website using an FTP client or the file manager in your web hosting control panel.
  14. Check that the changes have been successfully applied by visiting the sitemap.xml URL in your browser.
  15. Verify your changes in Google Search Console or other search engine tools.


By following these steps, you can edit the sitemap.xml file generated by Yoast SEO to customize your website sitemap to fit your needs.