Answer the question
In order to leave comments, you need to log in
How to correctly change url using rewrite rule in htaccess?
I'm going to make readable URLs like this on the site -
site.ru/id/title.html
Here id and title are GET parameters that initially have this kind of
site.ru/blog.php?id=1500&title=interesting-article
All this I want to use .htaccess and rewrite rules to remake this
site.ru/1500/interesting-article.html Please help me
make a rule with a regular expression that allows this to be implemented.
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