Answer the question
In order to leave comments, you need to log in
How to make a redirect by removing the parameters?
Hello!
Tell me how to make a 301 first redirect from a page in .htaccess?
домен.рф/каталог/?first=11088&second=56926
to the page
домен.рф/каталог/11088/56926/
Numbers are obviously not known, part of the url is in Cyrillic.
For some reason, google examples don't help.
As far as I understand it should be something like this:
RewriteRule ^/каталог/?first=(.*)&second=(.*)$ /каталог/%1/%2/ [R=301,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