How to Ignore Specific/Common Words in WordPress Search Query?


I am facing a strange problem with the search engine of my WordPress website.

I want to turn off the case sensitivity of my WordPress search engine.

For example if a user search “apple of one’s eye” it returns no results. See here.

And user leaves the sites thinking it’s not available, whereas the same post is available with a bit different title or content.

And if a user search “apple eye” then there is more than one post available.

Now I just want to narrow user’s search and ignore some specific words like “of”, “one’s”, “the”, “on” and so on.

How is it possible?
How to Ignore Specific/Common Words and Special Characters in WordPress Search Query?

Please help!

Jacob Peattie 2 years 2021-03-25T08:00:58-05:00 0 Answers 0 views 0

Leave an answer