# I have indexed my site to google and get error “No: ‘noindex’ detected in ‘X-Robots-Tag’”. How to remove this header tag?

**URL:** <https://meta.discourse.org/t/i-have-indexed-my-site-to-google-and-get-error-no-noindex-detected-in-x-robots-tag-how-to-remove-this-header-tag/280683>\
**Category:** Data & reporting\
**Tags:** analytics\
**Created:** [October 1, 2023, 10:26pm UTC](https://meta.discourse.org/t/i-have-indexed-my-site-to-google-and-get-error-no-noindex-detected-in-x-robots-tag-how-to-remove-this-header-tag/280683 "2023-10-01T22:26:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)\
**Post date:** [January 16, 2025, 4:48am UTC](https://meta.discourse.org/t/i-have-indexed-my-site-to-google-and-get-error-no-noindex-detected-in-x-robots-tag-how-to-remove-this-header-tag/280683/3 "2025-01-16T04:48:34Z")

</div>

Hi everyone,

I’m having trouble getting Google to index a specific page on my Discourse forum (`https://nhasg.com.vn/g/Sitetor`). Google Search Console reports a “noindex” error, indicating that the page is being blocked from indexing.

Here’s what I’ve tried so far:

- **Modified robots.txt:** My initial robots.txt file had `Disallow: /g`, which blocked all URLs under `/g`. I modified this to `Allow: /g/Sitetor` and `Disallow: /g/*` to allow indexing of the specific page while blocking others in that directory.

However, even after these changes and submitting the URL in Google Search Console, the page is still not being indexed. I’ve re-checked the robots.txt with Google’s robots.txt tester, and it seems to be configured correctly.

I’m stumped! Could there be another reason why Google is seeing a “noindex” directive? Any help would be greatly appreciated.

Thanks in advance!

 ![A alert window on a computer screen with Korean text indicating that the URL entered is inactive or invalid. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/b/b/a/bbaa699b26359cbaa2664742c05ebfd713efdbed.png)

---

_[View the full topic](https://meta.discourse.org/t/i-have-indexed-my-site-to-google-and-get-error-no-noindex-detected-in-x-robots-tag-how-to-remove-this-header-tag/280683)._
