1 将robots.txt文件放置在codeigniter中的位置。放置CodeIgniter的robots.txt的位置 我不知道如何把文件夹。 User-agent: * Disallow:/ 来源 2015-06-22 Faizzul Hariz
1 robots.txt文件必须放在主机的文档根目录下。它不会在其他地方工作。 如果您的主机是example.com,则需要访问http://example.com/robots.txt。 来源 2015-06-22 00:58:49 Fawzan