書き換えられた URL をリダイレクトしようとしていますが、リダイレクトが機能している間、書き換え前の元のパラメーターが含まれています。
例: /used-cars.html http://www.odins.co.uk/our-cars.htmlにリダイレクトします。
書き換えられた URL は、次の構造に基づいています。
http://www.domain.co.uk/pages/index.php?p=used-cars
ただし、何が起こっているかは次のとおりです。
http://www.domain.co.uk/our-cars.html?p=used-cars
.htaccess ファイルは次のとおりです。
Options -Indexes
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^odins.co.uk [NC]
RewriteRule ^(.*)$ http://www.odins.co.uk/$1 [L,R=301]
RewriteRule ^([^/]*)\.html$ /pages/index.php?p=$1 [L]
RewriteRule ^news/([^/]*)$ /pages/news/index.php?n=$1 [L]
Redirect /used-cars.html http://www.domain.co.uk/our-cars.html
どんな助けでも大歓迎です。
ポール