Answer the question
In order to leave comments, you need to log in
How to change [.htaccess] link?
I can't understand how it is possible to make a link of the form:
domain.ru/pages?id=3 A
link of the form:
domain.ru/id3 Could
you please
share your knowledge, gentlemen? Or at least how to remove the GET parameter?
Answer the question
In order to leave comments, you need to log in
.htaccess :
RewriteEngine On
RewriteBase /
RewriteRule id([0-9]+) pages?id=$1 [QSA]
Don't forget to enable the mod_rewrite module in the Apache configuration and enable AllowOverride
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question