I need to use friendly urls and am trying to make an adjustment with .htacess
I have a url:
http://www.site.com.br/default.asp?id=meuid&acao=minhaacao&hint=minhahint
I need it to look like this:
http://www.site.com.br/meuid?acao=minhaacao&hint=minhahint
I tried to do this as unsuccessful:
RewriteEngine on
RewriteRule ^([^/]+)/([^/\.]+)/?$ default.asp?site=$1&pid=$2 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
And so
RewriteRule ^/(.*)$ /default.asp?id=$1&acao=$3&hint=$4 [QSA]