I have this url structure
http://dev.gba.com/bullion/types/minted-bar/?cat=gold
.
the query parameter cat=gold
is used by a function and i wanted to clean my url by restructuring it using htaccess to this url http://dev.gba.com/bullion/types/minted-bar/gold
but i can still be able to get that parameter cat=gold. Any elp would be deeply appreciated.
Now i have this in my htaccess
RewriteCond %{QUERY_STRING} "cat=gold" [NC]
RewriteRule (.*) $1/gold/? [R=301,L]
which gives me the url structure /bullion/brands/gba/gold/ but i dont need it to redirect just modify the url