Answer the question
In order to leave comments, you need to log in
Where is the mistake in RewriteRule?
site.ru/edit.php?id=92
I want to site.ru/edit/92
write like this
RewriteRule ^([a-z]+)/([0-9]+)/$ _module/$1.php?id=$2
Answer the question
In order to leave comments, you need to log in
Maybe you need to escape slashes?
RewriteRule ^([a-z]+)\/([0-9]+)\/?$ _module/$1.php?id=$2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question