Answer the question
In order to leave comments, you need to log in
How to properly configure .htaccess with redirect with id?
Explain page:
domen.ru/page?id=123 должна перейти в domen.ru/page123
RewriteRule ^page/(.*)?$ page.php?id=$1 [L]
RewriteRule ^page(.*)?$ page.php?id=$1 [L]
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