I have a URL like this:
/user/registration/?user_group_id=Buyers
I would transform it in:
/user/registration/buyers/
I tryed many ways but they didn't worked, mod rewrite is enblaed and worked for other instructions.
in my htaccess:
RewriteEngine On
RewriteBase /
#without www
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
#with www
RewriteCond %{HTTP_HOST} ^(?!www\.)(.+)
RewriteRule ^(.*) http://www.%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* ./index.php
RewriteRule ^user/registration/([^/]*)$ /user/registration/?user_group_id=$1 [L]
<Files *.ini>
order deny,allow
deny from all
</Files>
thank you