I am using in my cms with a pre-defined htaccess, as the following:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?%{QUERY_STRING} [L]
I want to update the url in order to remove 2 "sub directories":
from /en/top/solutions/?id=1
to /solutions/?id=1
from /en/top/about/?othervar=1
to /about/?othervar=1
this one of the things i did so far:
RewriteRule ^en/top/ /$1 [L,R=301]
I could not get it to work. Thanks