Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

[Fixes #79] Disallow indexing test server content #328

Merged
merged 1 commit into from
Oct 3, 2016

Conversation

punchagan
Copy link
Contributor

This was partially fixed in akvo/akvo-rsr#2064 using a meta tag in the
HTML template. But, that fix didn't work for other content like PDFs.

This commit adds an X-Robots-Tag header and stops any further indexing,
and also removes already indexed content in the next crawl. Adding a
robots.txt would only stop future crawling, but would only indirectly
effect the indexing.
https://developers.google.com/webmasters/control-crawl-index/docs/faq#h17

Fixes akvo/akvo-rsr#2232

This was partially fixed in akvo/akvo-rsr#2064 using a meta tag in the
HTML template.  But, that fix didn't work for other content like PDFs.

This commit adds an X-Robots-Tag header and stops any further indexing,
and also removes already indexed content in the next crawl.  Adding a
robots.txt would only stop future crawling, but would only indirectly
effect the indexing.
https://developers.google.com/webmasters/control-crawl-index/docs/faq#h17

Fixes akvo/akvo-rsr#2232
@orifito orifito merged commit db62d44 into develop Oct 3, 2016
@orifito orifito deleted the #79-x-robots-tag branch October 3, 2016 08:42
@punchagan
Copy link
Contributor Author

mon oct 3 14 21 28 ist 2016

It worked. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test reports indexed by Google (estimate: 2)
2 participants