I wonder if there is any way to hide a subdirectory or a variable in the friendly url? Example:
.htaccess
RewriteRule ^([a-z,0-9,A-Z,_-]+)/categoria-([a-z,0-9,A-Z,_-]+)$ index.php?link=6&categoriaid=$1
In this case, I pass the category id via url that would look like this:
www.com.br/19/categoria-teste
In this case it works ok, but what I really want is to hide the ide from the category for the user and it shows
www.com.br/categoria-teste
But of course, passing the id
of the variable hidden.