Just turned on the module, removed the robots.txt file from the webroot. Where is robots.txt now? Shouldn't it be at /robots.txt?
Just turned on the module, removed the robots.txt file from the webroot. Where is robots.txt now? Shouldn't it be at /robots.txt?
Comments
Comment #1
dave reidSince there's no actual file, Drupal is free to handle the request for robots.txt. Just like the node.module defines 'node' as a path for Drupal to list content, the robotstxt.module defines 'robots.txt' as a path as well. The module then outputs text instead of a Drupal page.
Comment #2
kevinquillen commentedNevermind, there was an htaccess rule for txt files. All better.