Problem indexing "&" character
-
One site we are utilizing Relevanssi on has many pages that contain product names that include the “&” character. For instance, “C & D Valves Co” would be a search term we’d like to get results on. However, we do not get any hits when entering that term or variations of it.
For the moment, we’ve resorted to adding a bit of content at the foot of the page that writes the product name out as “C and D” so that it can show up in the Relevanssi results. But I have a feeling we can do better than this.
What settings might I need to change to allow Relevannsi to find my search terms with the “&” character? I had seen a topic that dealt with the “remove_puncuation” function, but on reviewing the code for that function I do not see any reference to removing the “&” character. Commenting it out didn’t seem to make a difference either. I’ll keep searching for answers, but I appreciate your expert response if/when you have the time to reply. Thanks!
- The topic ‘Problem indexing "&" character’ is closed to new replies.