Drupal.org doesn't allow local patches for core, so we can't modify the robots.txt coming from drupal core.

We have to stop robots from indexing the crisis page another way.

Possible solution is using a meta tag.
https://developers.google.com/search/reference/robots_meta_tag

Comments

paulvandenburg created an issue. See original summary.

paulvandenburg’s picture

Status: Active » Needs review
StatusFileSize
new1.88 KB

This adds the meta tag to the /crisis page and removes the core patch attempting to achieve the same functionality.

tvoesenek’s picture

Status: Needs review » Reviewed & tested by the community

Tested the patch, looks good.

  • paulvandenburg committed 6feadd3 on 7.x-1.x
    Issue #2992992 by paulvandenburg: Crisis blog don't let robots index...
paulvandenburg’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.