Forum

Thread tagged as: Question, Suggestions, Discussion

Hidden search terms

Hi,

Just had search for this, but couldn't find anything.

Is there a way to add hidden search terms to pages so they appear in search results (using perch search - so not search engines like google)?

EG. A page on vacuum cleaners you could add a hidden tag like 'hoover' so if someone did a search on that it would still come up.

I think it would be similar to tags on blog posts but could apply to any page - we could add them in manually. I realise the perch search can search perch content, so I'm thinking we could add a perch content field that's hidden from the screen, but would this be bad for SEO?

Many thanks,

Alex

Alex Bennett

Alex Bennett 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, you would just use suppress="true" so that the field isn't output. It'll still be searched.

That's great - so I can just create a text field in a template on the relevant pages with suppress="true" and label it something like search tags, and within that enter any words needed for the search?

Will give it a go and see how we get on!

Thanks Drew

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that's right.