CMS Development

fonji
Contributor

Blog posts are missing from search

Hello!

 

We are adding the search bar and it does not seem to find blog posts, although the request seem to be correct.

For example, on this page, if you search for "avocat" (which is the first word in the title), nothing pops up.

The request is

https://hs.staging.captaincontrat.com/_hcms/search?&term=avocat&limit=3&autocomplete=true&analytics=true&type=BLOG_POST&type=LISTING_PAGE&groupId=50426236051

which includes type=BLOG_POST and the correct groupId.

The blog post is published and publicly available, I don't know what we missed.

Any idea?

 

Have a nice day

3 Replies 3
fonji
Contributor

Blog posts are missing from search

Hi!

Thanks for your answers!

 

But, the post seems to be published, what am I missing?

fonji_0-1626362191500.png

Have a nice day!

0 Upvotes
webdew
Guide | Diamond Partner
Guide | Diamond Partner

Blog posts are missing from search

Hi @fonji ,

Blog is working on live URL if you not pubslished blog in backend it will not showing in frentend

1: first you need published blog and set blog listing template:
2: add search baar Find just ( search_input.module) and use this one
https://prnt.sc/1b0poy0


Hope this helps!


If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards. 

Indra
Guide | Elite Partner
Guide | Elite Partner

Blog posts are missing from search

Hi @fonji,

 

What is your listing page? There are no single blog at https://hs.staging.captaincontrat.com/blog 

Is the blog post created inside the blog section of is the text added inside the template?


Vet Digital - The Growth Agency | HubSpot Solutions Partner Agency

Did my post solve your question? Help the community by marking it as a solution