replace home page with search

Highlighted
Shopify Partner
28 0 1

I want to replace:

 https://store.myshopify.com/

with the content from:

 https://store.myshopify.com/search

 

I have algolia instant search app https://apps.shopify.com/algolia-search

 

I tried to copy templates/search.liquid to templates/index.liquid but get an error.

Liquid error: Array 'search.results' is not paginateable.

caused by: 

{% paginate search.results by 10 %}

 

Options?

 I can add a redirect to /search - but is there another solution?

This is slow:

<meta http-equiv="refresh" content="2; URL=/search">

 

 

0 Likes