# Missing X-Robots-Tag

**URL:** <https://meta.discourse.org/t/missing-x-robots-tag/152593>\
**Category:** Development\
**Created:** [May 25, 2020, 10:26am UTC](https://meta.discourse.org/t/missing-x-robots-tag/152593 "2020-05-25T10:26:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![agmontpetit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agmontpetit/32/160109_2.png) [@agmontpetit](https://meta.discourse.org/u/agmontpetit)\
**Post date:** [May 25, 2020, 10:26am UTC](https://meta.discourse.org/t/missing-x-robots-tag/152593/1 "2020-05-25T10:26:53Z")

</div>

We have `DISCOURSE_ALLOW_INDEX_IN_ROBOTS_TXT` set to `false`, but the `X-Robots-Tag` header is not being sent in the response.

Any ideas of what could be happening? Not sure if it could be related to this [change](https://github.com/discourse/discourse/commit/bb4e8899c41889f7316e512d6ed89a3847fa655b#diff-55c5b7aecfb519d0e4880eaf2788eb6e).

---

_[View the full topic](https://meta.discourse.org/t/missing-x-robots-tag/152593)._
