-
Hello Rank Math Team,
I am experiencing an issue where my sitemap is being excluded from indexing due to an X-Robots-Tag: noindex header.
Hosting: Cloudways (Nginx + Apache hybrid setup)
Action taken so far:
Cleared all caches (Cloudways, WordPress, plugins like Hummingbird/Smush).
Set custom domain correctly (wp.onedailys.com).
Flushed WordPress cache via WP-CLI.
Reinstalled and reconfigured Rank Math plugin.
Confirmed .htaccess rule is forcing index, follow successfully.
Despite this, the sitemap (/sitemap_index.xml) still shows two conflicting X-Robots-Tag headers:
One from .htaccess (index, follow)
Another added by Rank Math plugin (noindex)
Cloudways support has confirmed the issue is not server-side and recommended contacting Rank Math.
Could you please check why Rank Math is injecting the noindex header into the sitemap, and provide a solution to disable or override this behavior?
Thank you for your support.
You must be logged in to reply to this ticket.