Stop internal search from parsing HTML entities
-
We built a links box that lets people visit high-interest pages. The problem is that a standard internal search will pull up as relevant any page using the links box.
For example, we start with two pages about “wool coats” which are nowhere else on the site. Now, if we’re on the page about “brown shoes” and install the links box, suddenly an internal search shows three pages for “wool coats”. (link structure
https://example.com/?s=wool+coats
)SOLUTION? Inside the links box I used HTML entities to replace “wool coats” but nope the link on the brown shoes page still pops up in the search.
It does not detectwool+coats
inside the hyperlink.
- The topic ‘Stop internal search from parsing HTML entities’ is closed to new replies.