2014-03-24 113 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」