【问题标题】: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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-06-06
      • 2021-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-23
      • 2013-09-30
      • 2017-08-21
      相关资源
      最近更新 更多