Answer the question
In order to leave comments, you need to log in
How to form htaccess correctly?
Hello !
I know that there is a lot of this on the Internet, but everything that I tried did not work ..
What to write in htaccess, so that ..
.. do not indicate .php in the url at the end and hide get requests, so that site.ru?id=123 looked like site.ru/123
Answer the question
In order to leave comments, you need to log in
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ myscript.php?id=$1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question