Categories
CNC how to make such a link?
How to translate such a link https://site.ru/qr/index.php?id=20 into this form https://site.ru/qr/20 through the .htaccess file?
Answer the question
In order to leave comments, you need to log in
if it’s through htaccess, although it’s not clear why, when there is urlrewrite, then something like this (I can’t vouch for accuracy, I haven’t tested it):
RewriteRule ^qr/([^/\.]+)/?$ https://site.ru/qr/index.php?id=$1 [L]
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question