How to fix “noindex” tag excluded from indexing

Posted on

How to fix

For website owners, the “noindex” tag that search engines occasionally report may appear on your website without your making any modifications. This problem may anger you. Normally, you can change noindex to index by editing your robots.txt file, but if you use a CDN like Cloudflare, you might also need to make the change there.

Normal website owners would not know how to add a response header, so forcing them to jump through hoops to change the noindex status through the server is unfair. The robots.txt file is a natural way to do this. We don’t want to add more plugins to our site and make things even slower, especially for CMS systems like WordPress.

Go to Cloudflare > On Rules, click the drop-down menu > click Transform rules. Here you will be able to transform your traffic including URL Normalization, URL Rewrites, and Header Modifications. To remove your excluded url from noindex, Create a new rule, give it a name, all incoming traffic, then static, header name: X-Robots-Tag and value: index

This will solve the problem!

Was this helpful?

Thanks for your feedback!