My WP website uses cloudflare accidentally, for some reason, cloudflare added x-robots-tag: noindex, follow to my sitemap.
As a website, I dropped the index and couldn’t index posts anymore.
I read a document on the internet that said it was due to security, so Cloudflare accidentally added it by itself.
That’s totally false. Cloudflare does not manage your site’s x-robots-tag headers.
You need to check your WordPress installation instead, or ask for help at Forums | WordPress.org. Also, I don’t think a sitemap’s x-robots-tag header would influence indexing, but that’s an issue for Google Search Central Community.
Thanks for answering.
So can I create any expression rule to disable x-robots-tag header completely using cloudflare?
Please just me thank you very much.
Thank you very much.
I did it.
Like can you tell me more?
uri.path is to remove the x-robots-tag for a permanent link.
So I want to make sure all other links including post , page , cate , tag , search , … have x-robots-tag removed, am I using the hostname filter field?