404 XML Sitemap error after Installing Yoast SEO plugin

404 XML Sitemap error after Installing Yoast SEO plugin

Getting 404 error while viewing xml sitemap generated through Yoast SEO plugin.

Solution : Settings -> Permalinks Settings -> Post Name

and then click on Save settings.

Note : Even if you have already selected Post Name as Permalink Settings, click save settings once again & XML Sitemap page will work for you.

Plugin URL : https://wordpress.org/plugins/wordpress-seo/