[英]301 redirect htaccess subfolder problem
我在讓301重定向中的某些重定向在htaccess中正常工作時遇到問題。
問題是新鏈接上的子文件夾未對齊:重定向301 /properties/available-properties/filename.html http://www.domain.com/index.php/properties/available/new-filename
問題是它返回以下路徑:www.domain.com/index.php/properties/availablefilename.html
有什么建議么?
這是一個老問題,所以我要在黑暗中拍照,您是說要
Redirect 301 /properties/available-properties/filename.html http://www.domain.com/properties/available/new-filename
*刪除“ index.php /”,因為這可能是錯誤的?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.