-
Hi Rank Math Team,
I’m experiencing an issue where the X-Robots-Tag: noindex header is being applied to my sitemap (https://justkidsngr.com/sitemap_index.xml), and I’ve exhausted all recommended troubleshooting steps without success.
Here’s everything I’ve done so far:
– Added the recommended filter:
add_filter( ‘rank_math/sitemap/x_robots_tag’, ‘__return_false’ );
– Tried the anonymous function version of the filter
– Added .htaccess rules to unset the header
– Cleared LiteSpeed cache (currently disabled to eliminate caching interference)
– Confirmed with my host (DomainKing) that no server-level headers are being injected
– Enabled Troubleshooting Mode via the Health Check plugin
– Tested with only Rank Math active and a default WordPress theme (Twenty Twenty-Five)Despite all this, the X-Robots-Tag: noindex header still appears on the sitemap. I’ve verified this using tools like httpstatus.io .
Could you please confirm whether this is a known issue or bug, and advise if there’s another way to disable the header? I’d appreciate any guidance or backend fix you can offer.
Thanks so much,
Justkids
You must be logged in to reply to this ticket.