我只是想写一个简单的 url 重定向,我尝试使用下面的代码,除了以Redirect 302开头的行之外,Everyline 都可以工作,我想做的是让这条线工作。
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+taksit\.asp\?[^\s&]+ [NC]
RewriteRule ^ /? [R=301,L]
**Redirect 302 /mikrometreler/%C4%B0%C3%A7-%C3%A7ap-mikrometresi?sort=p.price&order=ASC http://www.hirdavatdeposu.com/mikrometre/ic-cap-mikrometresi**
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\_(.*)$ $1-$2 [R=301,L]
这不起作用的原因是什么?