Modify default search engine

We use an alternate search service, integrated with WP that provides more control over results and formatting, etc. This works fine for the search function we provide in the menu/top bar, as we control that.

However, the default “Oops! You blew up the Internet.” page provides a search bar that is using the default search function, and provides a totally different/incorrect search experience for users.

How do we update the search function supporting “Oops! You blew up the Internet.” page?

Hey @dhockenberry_as,

To avoid template modification, you can create a page to be used as the 404 page and use our Custom 404 extension. See this article for more details.

If you want to modify the search form, copy searchform.php located in wp-content/themes/pro to your child theme wp-content/themes/pro-child and modify it from there.

Hope that helps.

Thanks! I appreciate the idea to use the Custom 404 extension, but to ensure every instance of default WP search is addressed, we also need to modify the theme level search. Thanks for confirming its the searchform.php script.

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.