WordPress – Fix Yoast SEO Sitemap 404

To fix this error, just add the folowing line in your htaccess, before the rules of WordPress :

.htaccess :

Exemple with an full htaccess :