Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Redirect of search ends up in a 404 page sometimes. › Reply To: Redirect of search ends up in a 404 page sometimes.
Hi Stefan!
1. I am thinking that the results override feature might not be enabled. In that case, the plugin will simply redirect to the results page, but will not override the search results with it’s own.
2. Might be possible actually, with a custom API javascript call. I have constructed a custom code, which may do the trick for you. The $page_id variable should be set to the page where this should be effective. In your case I think it’s 27915, but make sure to check it.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!