Error: the following file is blocking your XML sitemaps

The following file(s) is/are blocking your XML sitemaps from working properly:

/PATH_TO_FILE/name.xml

The problem

Since our sitemaps are dynamically generated, a physical sitemap file on your server may cause a conflict with our sitemap function.

The solution

To resolve the sitemap conflict, you can either delete the existing physical file or disable the Yoast SEO sitemap function. To delete the file, you can click the Fix it button in the error message for an automatic fix, or you can manually delete the file using FTP or your host’s file manager. The path to the file is provided in the error message. If you are unsure how to do this, please contact your web host for assistance.

Alternatively, you can simply disable the Yoast SEO sitemap and continue using the physical sitemap created by your preferred method.

Did this article answer your question?

Thanks for your feedback!

Related articles

Get free SEO tips!