Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Negative Keywords Not Working
- This topic has 8 replies, 2 voices, and was last updated 2 years, 1 month ago by
Ernest Marcinko.
-
AuthorPosts
-
April 18, 2024 at 5:22 pm #47854
Brian Andrews
Participant1) When I add negative keywords to products, they are still found when I search using them.
A good example is our product called Cell Rush. I added the negative term hydrate so that it would not show up in a search using that term. However, when I search using hydrate, it still shows up. This happens because the text description mentions that it contains creatine monohydrate, so it’s picking up “hydrate” within monohydrate.
You can log in to check this using the link below…
2) Could you please check to see if I have the most optimal settings to ensure it is as fast as possible?
April 18, 2024 at 6:36 pm #47859Ernest Marcinko
KeymasterHi,
Thank you so much for the details, it helped a lot.
1. You have stumbled upon an interesting bug here. It was not even the inner/outer part of the word, but a word partial after it was cleared from special characters and delimiters – so a very special case. It didn’t show up on my tests because I was trying simply words one after another, not using any special delimiters.
Either way, I have quickly fixed this, luckily it was super simple and installed the next version beta release – where I also implemented this fix.
If all goes well, now even partials should be definitively excluded.2. The configurations looks perfect to me.
April 18, 2024 at 7:15 pm #47861Brian Andrews
ParticipantThanks, glad I could help in this case.
Did you say that you already installed the fixed version on our website?
April 18, 2024 at 8:17 pm #47863Brian Andrews
ParticipantI asked if you installed that fixed version because I just added hydrate as a negative keyword to the two products shown crossed out in the attached image. They still show up when I search using hydrate.
Is there another step I need to perform beyond saving that product after adding the negative keyword?
April 19, 2024 at 7:55 am #47872Ernest Marcinko
KeymasterYes, it has the updated version. It might only be the cache, I noticed you have it activated, you can clear it manually here: https://i.imgur.com/YYl2ksR.png
It looks correct to me at the moment, I only get one product for hydrate so the cache is probably cleared by now.It should clear automatically every time a post is updated, but it’s possible that some conditions may prevent that or the browser holds on to the cached content for a while. Either way, clearing manually should force a new query string and update the browser cache forcefully as well.
April 19, 2024 at 3:21 pm #47878Brian Andrews
ParticipantOk, I will make sure to do that whenever I make an update to a product. I just tried the search again, and it is working properly for me, too!
Thanks!
April 19, 2024 at 3:32 pm #47879Ernest Marcinko
KeymasterGreat 🙂
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
If you like the plugin and have not rated already, feel free to leave a rating on your codecanyon downloads page and on the wordpress plugin repository, it’s greatly appreciated.
April 19, 2024 at 3:39 pm #47880Brian Andrews
ParticipantWill do. I also just left 5-star reviews on both platforms.
April 19, 2024 at 3:40 pm #47881Ernest Marcinko
KeymasterThank you so much!
-
AuthorPosts
- The topic ‘Negative Keywords Not Working’ is closed to new replies.