AddDefaultCharset utf-8
Redirect 301 /page.php?p=home&l=nl http://www.sub.mysite.nl/
Redirect 301 /page.php?p=bedrijf&l=nl http://www.sub.mysite.nl/bedrijf
Redirect 301 /page.php?p=activiteiten&l=nl http://www.sub.mysite.nl/activiteiten
Redirect 301 /page.php?p=contact&l=nl http://www.sub.mysite.nl/contact
Redirect 301 /page.php?p=vacatures&l=nl http://www.sub.mysite.nl/vacatures
... some more...
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} (.+)$
RewriteRule ^(.*)$ http://www.%1/$1 [R=permanent,L] .
RewriteRule ^(manager|assets)/.*$ - [L]
RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteRule ^page.php?p=bedrijf&l=nl http://www.sub.mysite.nl/bedrijf [L,NE,R=301]
This question has been answered by fourroses666. See the first response.


RewriteCond %{QUERY_STRING} ^p=home&l=nl$ [NC]
RewriteRule ^page\.php$ http://www.sub.mysite.nl/home? [R=301,NE,NC,L]
