The robots.txt file should be configurable per language.

For example, all of these sites could be running from the same drupal instance:
mysite.com
mysite.kr
mysite.uk
mysite.de

All of the above should be able to have a specific robots file.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zhuber’s picture

This patch provides for multilingual support for the robots configuration.

zhuber’s picture

Assigned: zhuber » Unassigned
Status: Active » Needs review
zhuber’s picture

The last submitted patch, 1: robotstxt-multilingual-2492271.patch, failed testing.

zhuber’s picture

Updated patch for fixing the language list.

Status: Needs review » Needs work

The last submitted patch, 5: robotstxt-multilingual-2492271-5.patch, failed testing.

zhuber’s picture

Status: Needs work » Needs review
FileSize
2.12 KB

Status: Needs review » Needs work

The last submitted patch, 7: robotstxt-multilingual-2492271-7.patch, failed testing.

zhuber’s picture

Status: Needs work » Needs review
FileSize
2.29 KB
hass’s picture

Status: Needs review » Closed (works as designed)

This modules supports multilingual sites. You only need to install Variables and/or Doman module.

Aside - drupal_exit() is incorrect!!!