【问题标题】:Different robots.txt content for different domain names linked to the same root folder链接到同一个根文件夹的不同域名的不同robots.txt内容 【发布时间】:2010-11-26 11:34:34 【问题描述】: 我有两个域名链接到同一个根。如何让robots.txt根据域名有不同的内容? 【问题讨论】: 标签: dns robots.txt 【解决方案1】: 编写您自己的服务器脚本(如在 PHP 上)并添加重定向到 .htaccess 【讨论】: