This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Trigger and redirection behavior / Custom URL > GET instead of POST

Home Forums Bug reporting, Questions & Suggestions Ajax Search Pro for WordPress Trigger and redirection behavior / Custom URL > GET instead of POST Reply To: Trigger and redirection behavior / Custom URL > GET instead of POST

#35259
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

If you enable the search override, it will use the GET request. Otherwise a silent POST is used to maintain the search filter and configuration states. I

If you don’t want to use the override, then for a permanent solution, try using an override method for the window.WPD.ajaxsearchpro.helpers.submitToUrl function:

window.WPD.ajaxsearchpro.helpers.submitToUrl = function(url) { location.href = url };

That should override the one used in the new scripts with a simple redirection.