G
G
glushkow2021-02-24 22:17:43
URL Handling
glushkow, 2021-02-24 22:17:43

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

2 answer(s)
D
dodo512, 2021-02-24
@dodo512

RewriteCond %{QUERY_STRING} (?:^|&)s=([^&]*)
RewriteRule ^ https://site.ru/search/?_sf_s=%1 [R=301,L,NE]

A
Andy_U, 2017-11-08
@UNy

Well, how much easier?
scipy.ndimage.median_filter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question