How to create a Search API search box that redirects you to the search page I am using Drupal 8 and the Search API. I have created a search page using the API and views (basically modified the view that came prebuilt when you install the search API). Everything works as expected when you are on the search page doing a search. 

The problem I am having is that I would like to create a search block identical to the one the default Drupal Search creates with the same behaviour. Meaning that when you enter a search term, it redirects you to the search page displaying the search results. I can't figure how to do this (assuming it is possible to do so). 

I have created a search block but it wants to display the results of the search in the block itself. I don't know how to make the search block redirect to the search page.

I know when using the default search block you can implement the following hook:

function mytheme_search_box_form_submit($form, &amp;$form_state) {
   $form_state['#redirect'] = 'path of redirect';
}


Is there something similar for the Search API?
There was a similar question for Drupal 7 Expose a view&#39;s filters both in a block, and in the actual view. In Drupal 8 this should be much easier, you can do this in UI:

Place the block Exposed form: search_content-page_1 a second time, now in the region Content above the block Main page content and configure the visibility to show only on pages with the path /search/content.