Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dns 链接到同一根文件夹的不同域名的不同robots.txt内容_Dns_Robots.txt - Fatal编程技术网

Dns 链接到同一根文件夹的不同域名的不同robots.txt内容

Dns 链接到同一根文件夹的不同域名的不同robots.txt内容,dns,robots.txt,Dns,Robots.txt,我有两个域名链接到同一个根。如何根据域名使robots.txt具有不同的内容?编写您自己的服务器脚本(如在PHP上)并将重定向添加到.htaccess编写您自己的服务器脚本(如在PHP上)并将重定向添加到.htaccess

我有两个域名链接到同一个根。如何根据域名使robots.txt具有不同的内容?

编写您自己的服务器脚本(如在PHP上)并将重定向添加到.htaccess

编写您自己的服务器脚本(如在PHP上)并将重定向添加到.htaccess