Answer the question
In order to leave comments, you need to log in
Htaccess. I can't figure out the CNC. Where is the mistake?
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA,NC]
RewriteRule ^(.*)/([0-9]+)$ index.php?page=$1&id=$2 [L, QSA,NC]
I have pages site.ru/catalog, site.ru/reviews... - they open normally
I want to make the page site.ru/order/4, but this "4" is not transmitted, the usual order.php page opens
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question