Google XML Sitemaps, Yoast SEO – Error 403

If Google robot cannot access your sitemap, add this to your website .htaccess file.

# Sitemap 403 fix
<FilesMatch "(sitemap.xml|sitemap-.*.xml)">
	allow from all
</FilesMatch>
# END Sitemap 403 fix

You can modify “FilesMatch” line to your case.

Leave a Reply

avatar
  Subscribe  
Notify of
Close Menu