私の .htaccess ファイルは次のようになります。
RewriteEngine On
RewriteRule (.*)-(.*)-(.*) view.php?title=$1&date=$2&author=$3
このルールを使用すると、特殊文字を使用せずに単純な動的 URL をリダイレクトできます
domain.com/abcd-June%2027th%202013-authorname
に
domain.com/view.php?title=abcd&date=June%2027th%202013&author=authorname
同様に、疑問符「?」を含む動的 URL をリダイレクトしたいと考えています。たとえば、クエリ文字列で
http://domain.com/abcd?-June%2027th%202013-authorname
に
http://domain.com/view.php?title=abcd?&date=June%2027th%202013&author=authorname
これを行う方法?.htaccess ファイルに必要な変更は何ですか?