|
trying to educate myself here. I know there is a way to rewrite a url so that if it contains the following
website.com/index.php?page=locations
it would just turn it into
website.com/locations
This would work for anything that has the pattern index.php?page= correct? Any help with what the flags etc are? I have tried the below among many other things and can not get it to work
RewriteCond %{QUERY_STRING} index.php?page=
RewriteRule (.*) website.com/$1? [R=301]
|