Hi,

Does Virtual Sites.module support robotsTxt.module ? as i use Virtual site to define different displays for several domains.

i would like to show different robots.txt files for differents virtual sites, to separate content display and indexing by domain.

i tried robots.txt.module which builds A robot.txt file for crawlers, but i didn't see how to integrate it on virtual-site configuration.

is there a way to do this (different robots.txt shown for every domain) ?

Thank you

Comments

djg_tram’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

As old as it is, I like the idea. I have a custom robots.php for similar purposes right now but yes, this would be a nice idea for a feature module. Let's bring it up and keep it active.

AdamPS’s picture

Issue summary: View changes
Status: Active » Fixed

It looks like there is a module that provides robots.txt: https://www.drupal.org/project/robotstxt

Presumably it will store config in a variable. You can then use the variables sub-module to control it.

Status: Fixed » Closed (fixed)

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