-
Hello,
I’ve added both filters to my functions.php file as recommended:
php
Copier
Modifier
add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’ );
add_filter( ‘rank_math/sitemap/x_robots_tag’, ‘__return_false’ );
I’ve also cleared all cache (WordPress and server-side), but Google Search Console still detects:makefile
Copier
Modifier
X-Robots-Tag: noindex
I even temporarily disabled the Rank Math plugin, and the header disappeared — which confirms that the plugin is still injecting it, even with both filters active.Can you please escalate this issue internally?
It looks like the filters are being ignored. I would appreciate a deeper technical review.Thank you!
The ticket ‘Plugin support’ is closed to new replies.