Good day. I can not find on the Internet how to do .htaccess redirect from one page with Get parameters (or without them) to another page, saving the parameters?

there is an address: http://site.ru/%D0%A0%C2%B7%D0%A0%C2%B0%D0%A0%D1%94%D0A0%C2%B0%D0A0%C2% B7% D0% A0% C2% B0% D0% A1% E2% 80% 9A% D0% A1% D0% 8A-% D0% A1% D0% 82% D0% A0% C2% B0% D0% A0% C2 % B1% D0% A0% D1% 95% D0% A1% E2% 80% 9A% D0% A1% D1% 93.html? Utm_source = vk & utm_medium = grup & utm_campaign = info & utm_term = general

Unfortunately, the name of the page was Cyrillic because of this, a lot of problems, now they did it simply: http://site.ru/order.html

How to make the requests from the last page come to this page, saving Get parameters if they are? Thank.

  • In RewriteRule in QSA flags, write an example: [R = 301, L, QSA] - Visman
  • I apologize, but I do not quite understand? - Maksim147

1 answer 1

 RewriteRule ^(.*)фраза(.*)$ http://avtomat5.ru/order.html [L,R=301] 
  • The correct answer is Maxim147
  • tick your answer - Crantisz