Archived topic
Serach field
3 replies · Started by Marcus on November 15, 2018
Hi,
I want to have a search filed that gives a page (url) as a result, not a search result page with parameter url.
For example:
I have a site with multiple dental clinics, one page for each city.
Let's say I have a page that is domain.com/city/new-york.
If I search for "new york", i want this page as the result, and so on.
Is it possible?
/M
Hi there,
You could use a redirection plugin to redirect domain.com?s=new+york to domain.com/city/new-york.
Thanks!
it works fine, but i found out that it's case sensitive. can I always get the url in lower case?
Hi there,
Perhaps there's something you can do in the redirection plugin to match the case?
If not, you may need to add separate redirections for if the user uses capitals.