Customising Search Results
-
Please accept my apologies in advance for anything stupid I may be doing or not doing. And also for the wall of text that you’re about to see that explains my situation a bit better.
I have been running Relevanssi for the past few years and really like the search results it generates. With 1000’s of products, it can become difficult to find the ones you’re looking for and Relevanssi does the job (behind the scenes).
I have restricted Relevanssi to only search through products and not through pages. However, recently I was thinking of adding links to specific search results that point to specific “Collection pages”. So, I enabled Pages in the settings and saved.
Example:
If I had a page that listed all Mario related products and someone types “Mario” as their search result, I would want it to show a “banner” at the top that points to the Mario collection page. Below that, it should have all the standard search results.Now, I am struggling with this, because somehow I’m not able to make it detect the pages and I’m not able to customise the results in one way or another.
1. When I now search for Mario (or another keyword that is in a specific page), it only shows me the products. Pages is checked, so that means it should detect them, correct? I tried this with several search terms, all only resulted with products.
2. At some point I was wondering whether Relevanssi is actually working. Yes, its activated but when I deactivated and deleted it, the results still looked the same. So, I reinstalled Relevansi, searched and got no results. Then rebuilt the index and I get the results again, which makes me believe relevanssi is working properly.
3. I can’t seem to customise the look of the Search results page. I use Sistina as my theme, but when I try to change the Search Results page (under Pages) or change the sidebar layout in Sistina, the page doesn’t change when I search.Anyway, appreciate your help in 1) trying to figure out whats going on and 2) trying to find a solution to getting a link to a specific page show up as the first result (preferably formatted in a certain way that distinguishes itself from the products) in my search results.
The page I need help with: [log in to see the link]
- The topic ‘Customising Search Results’ is closed to new replies.