Cannot edit or design search result page

When I submit the search it goes to 404 page. So I am trying to fix it.

1. When I browse manually, for example:
http://my.domain/hs-search-results?term=keyword
The page displaying the search result, but have different look, different header & footer.

And most importantly, there is no search box in this search result page.

#2.
I have create a new tempate for search, but that is not avalable in the dropdown. Only 2 items are available:
see screenshot:

#3. Edit button is desabled. So these existing tempates are not editable.
see screenshot:

Please help.

Hi @amin9,

is your template set to “available for new Content”?

Your template should have something like this

<!--
 templateType: search_results_page
 isAvailableForNewContent: true
 label: My custom search
-->
  • templateType: search_results_page - if this is set to something different it won’t show up in the options for custom search templates
  • isAvailableForNewContent: if set to false it won’t show up as select option too
  • label: Give it a proper name so you’ll find it easier

Hope this helps

best,

Anton