Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
djg_tram CreditAttribution: djg_tram commentedAs 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.
Comment #2
AdamPS CreditAttribution: AdamPS commentedIt 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.