Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search in header direct to to results page with a search bar › Reply To: Search in header direct to to results page with a search bar
Well, there is actually a way to do something similar since the latest plugin version (4.8.2). It’s not yet documented but it is possible to trigger a specific search instance when calling the right url.
What I suggest for you to do in this case is:
On the header search change the Redirect to url? option on the General Options -> Behavior panel to the relative url of the catalogue page + the query parameters.
This means, that if the catalogue page url is http://yourwebsite.com/catalogue/ , then you need to input:
Also the asp_id=1 in this pattern refers to the ID of the search you want to trigger. In your case it’s the ID of the search on the Catalogue page. You can find the search ID on the settings page: https://i.imgur.com/4Rm8Nqa.png
So if the search ID on the catalouge page is 5, then this will change to:
That’s it. Now when you hit enter the plugin will redirect to the catalogue page instead of the results page and hopefully triggers the catalogue search with the given phrase.Best,
If you like my products, don't forget to rate them on codecanyon :)