Super. But in that case, if the customer searches for Star Wars duvets. That it refers to a different category? That he really looks at words contains and not at url.
I don’t know what you mean by that?
Sorry, let me describe it more clearly.
What we want to achieve is that when someone searches for a certain product category, they will be automatically redirected to the category page. Now our search parameter is: ?s=, so what I really want is to set it up to do the following. If the url contains ?s= and for example Star Wars (somewhere in the url, the search query of the visitor), redirect the user to [THIS] page.
I hope my explanation is clear and I hope this is possible with your plugin. Anyway, you’ve done a great job!
Doesn’t my suggestion do that? If you need other search terms then you will need to create a redirect for each one.
But your suggestion doesn’t work in the way that they should search for the specific search item? So you can’t move words in the search term?
Sorry, I’m really not understanding. You asked for a redirect for /?s=star+wars
. Do you mean that it should match any search containing ‘star wars’? If you can create a regular expression to match then you can use that:
https://redirection.me/support/redirect-regular-expressions/