It would be nice if phpids implemented hook_robotstxt from the robotstxt module to add

Disallow: /warning.html
Disallow: /?q=warning.html

to the robotstxt output.

I created two patches. One implements the hook in phpids.module, the other changes the requirements check in phpids.install so that a warning is only fired when the robots.txt file is missing and the robotstxt module is not installed.

Comments

patrickd’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Active » Fixed

In 7.x-2.x no further changes in robots.txt will be required.

Status: Fixed » Closed (fixed)

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