• I have a Category that has the name and slug “2-3”
    Whenever I search for that term, Relevanssi returns no results.
    But if I search for another category slug I get the correct results.
    Has anyone else had issues with searching for numbers?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The problem is not the numbers, it’s the hyphen. Relevanssi sees “2-3” as “2 3”, and doesn’t index it, because single numbers are shorter than the minimum word length that is three.

    If you have Relevanssi 4, go to the Indexing tab, open Advanced indexing settings, and for “Hyphens and dashes”, choose “Keep”, then rebuild the index. Now searching for that category should work.

Viewing 1 replies (of 1 total)

The topic ‘Searching by Category?’ is closed to new replies.