Answer the question
In order to leave comments, you need to log in
How to write a RewriteRule?
There is such a CNC code.
RewriteRule ^uid(.*)$ /index.php?uid=$1 [L,QSA]
RewriteRule ^(.*)$ /index.php?uname=$1 [L,QSA]
Answer the question
In order to leave comments, you need to log in
Routing is better to implement in php, there is such a thing as one entry point to applications, read for it, why shouldn't you do routing on htaccess? Because it is less flexible than php routing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question