-
I am experiencing an issue where my sitemap is being blocked from indexing due to an overriding server header, and my hosting provider (EasyWP) insists the issue is within the Rank Math plugin files. I need your team to confirm the correct execution of your code.
The Problem:
My sitemap (/sitemap_index.xml) consistently shows “Couldn’t fetch” in Google Search Console.The Evidence of Interference:
Plugin Settings are Correct: My Global Meta settings are correctly set to “Index” for all Robots Meta directives.
Server Response is Wrong: Despite the correct setting, independent checks confirm the server is sending an overriding header: X-Robots-Tag: noindex.
Host’s Findings (The Core Conflict): My host confirmed they found code lines in the plugin files responsible for sending this header, such as: wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php: ‘X-Robots-Tag’ => ‘noindex’;
The Core Question:
Since my Rank Math settings are clearly set to “Index”, why is the code that sends the noindex header still being executed by the server?
This suggests the server’s NGINX/PHP environment is either overriding my saved plugin settings or incorrectly executing the code.
Desired Outcome:
Please confirm that with my current “Index” settings, this header should NOT be present. An official statement confirming that the issue is due to external server interference or improper PHP execution is required to resolve this with my hosting provider.Thank you for your assistance.
You must be logged in to reply to this ticket.