Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Special character search
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 5 months ago.
- AuthorPosts
- September 30, 2021 at 4:36 pm #34948
When entering a search term in ajax search pro it does not find any matches when characters such as () and ‘ are used.
In the content of some articles, words such as Risico’s and (POM-Model) for example are used
When searched for these words, they should be written exactly like this
ajax search pro does not see POM-Model within the () or risicos as risico’s
how can we make sure that ajax search pro also handles searching special characters wellAttachments:
You must be logged in to view attached files.October 1, 2021 at 10:13 am #34962Hi,
The plugin can and does search special characters, it does not treat them separately. The main issue with the apostrophes is, that there is many different types of them. For example, if I search for:
risico’s
.. I am getting more results when I search for:
risico's
..only because the first type of apostrophe is used in the articles, not the second one.
One way to treat these is to simply replace them with empty strings, you can do that on the search back-end: https://i.imgur.com/QMxrEGG.png
I have added these items in the screenshot:',",’
The search with the parentheses seemed to work all right on my end: https://i.imgur.com/jBxLn5J.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.