I'm having some problems with my .htaccess.
I have a link that's:
domain/view.php?pid=2
And I want to change it simply to:
domain/2
I don't have much knowledge with .htaccess and my attempts didn't work.
RewriteEngine On
RewriteRule ^(.*)$1 /view.php?pid=$1 [L]
I have another link that is
click.php?bid=2
and would like to transform it into
/out/2
Please note that my website (with exception of links view.php and click.php) works like: index.php?id=page1/2/3... Maybe it could be important in this thing. I just want to change view.php and click.php files.
Could someone help me? Thanks :)