Answer the question
In order to leave comments, you need to log in
How to write a redirect for search results?
How to write a redirect for search form results
From https://site.ru/ ? s=request to https://site.ru/search/?_sf_s=request
Answer the question
In order to leave comments, you need to log in
RewriteCond %{QUERY_STRING} (?:^|&)s=([^&]*)
RewriteRule ^ https://site.ru/search/?_sf_s=%1 [R=301,L,NE]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question