Yoast sitemap Yoast 404

If you get a 404 error when trying to view the sitemap that the Yoast plugin in WordPress created, try just changing the Permalinks setting in WordPress, save it, then change it back. If that doesn’t work then check the local .htaccess file itself, it possibly might not have proper permissions.