Forum Moderators: phranque
RewriteCond %{QUERY_STRING} ^query=(.*)$ [NC]
RewriteRule ^/index.php$ /%1 [NC,L,R=301] THE_REQUEST with a preceding RewriteCond when redirecting parameter based requests to SEF URLs. The redirect target must include the domain name and the [R=301,L] flags. [L] flag. Rewritecond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\?([^\ ]+)query=(.*?)&([^\ ]+)start=(.*?)&([^\ ]+)\ HTTP/
Rewriterule ^index\.php$ http://subdomain.domain.com/%2/%4? [R=301,L]
RewriteRule ^([a-z]+)/([^/]*)$ /index.php?parameter=0&query=$1&anotherpar=1&start=$2&lastpar=-1 [L]