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

Reply To: can't open index settings – nginx 504 error timeout

Home Forums Product Support Forums Ajax Search Pro for WordPress Support can't open index settings – nginx 504 error timeout Reply To: can't open index settings – nginx 504 error timeout

#25918
Ernest MarcinkoErnest Marcinko
Keymaster

It will be overwritten unfortunately, but I can perhaps add a hook to the code to make it permanent with a custom code.
I think we will do that.

To make the bypass permanent for the upcoming release you will need a small custom code. Please to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!

add_action('init', 'asp_define_const');
function asp_define_const() {
    define('ASP_INDEX_BYPASS_COUNT', 1);
}

For now it does nothing, but in the next release it will activate the bypass.