Answer the question
In order to leave comments, you need to log in
How to make cnc address using htaccess?
Hello, I'm trying to make an address from site.ru/index.php?page=portfolio&id=263
such an address site.ru/portfolio/263
Applied: RewriteRule ^([-a-zA-Z0-9_]+)/([-a -zA-Z0-9_]+)/{0,1}$ /index.php?page=$1&id=$2 [L,QSA]
The result is: site.ru/portfolio&263
And I want to achieve: site.ru/portfolio /263 and also to have a redirect from the old url to this one, otherwise it only works when you write it with your hands, not an option.
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