-
Notifications
You must be signed in to change notification settings - Fork 4.2k
added x-robots-tag header #1752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
||
#### Recommendation | ||
|
||
Disable sending this header. To remove the `X-AspNetMvc-Version` header, add the below line in `Global.asax` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The X-Robots-Tag header tells crawlers how to index a URL.
- awareness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you provide a reference / source for this recommendation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This recommendation is copied from X-AspNetMvc-Version header is not not valid for X-Robots-Tag right?
I'm not 100% sure on this one, @mackowski ? |
hey @righettod can you help with this PR? :) |
I tend to be thumbs-up on this PR. It seems reasonable to want to AI crawlers of the day to leave us alone. :) |
You're A Rockstar
Thank you for submitting a Pull Request (PR) to the Cheat Sheet Series.
Please make sure that for your contribution:
[TEXT](URL)
If your PR is related to an issue, please finish your PR text with the following line:
This PR fixes issue #
<REPLACE WITH ISSUE NUMBER>
.Thank you again for your contribution 😃