试图让一个简单的301使用此代码htaccess的重定向: 重定向301/CAT /散热器笼/产品/散热器支持笼/ http://www.mysite.com/product/radiator-cages/custom-radiator-support-cage/重定向301不按我预期的方式工作!
任何想法我做错了什么? 在此先感谢您的帮助。
--Update--
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]
RewriteRule ^product/(.*)/(.*)/$ /index.php?page=product&parent_url=$1&product=$2 [L,NC]
Redirect 301 /cat/radiator-cages/product/radiator-support-cage/ http://www.mysite.com/product/radiator-cages/custom-radiator-support-cage/
你有可能被生产这种错误的.htaccess文件的其他规则?比如RewriteRule – 2011-05-11 15:58:15
@Ryan Matthews我用我的htaccess中的其他规则更新了原始邮件 – Dave 2011-05-11 16:37:55