2014-03-24 110 views

回答

0

您需要引用URL,而不是文件路径。所以你的情况正确的做法是

User-agent: * 
Disallow: /index.php/mycontroller/function 
0

是,Pattle是正确的关于URL引用的文件夹通常不直接索引,他们获得索引,当他们在一个页面被发现,而应用文件夹甚至不应该通过浏览器/互联网访问。于是竖起大拇指:万一

User-agent: * 
Disallow: /index.php/mycontroller/function 
Disallow: /mycontroller/function 

的config.php文件中删除“的index.php”