Bing404 WordPress Plugin built on Bing Wrapper

Microsoft developed a new Bing404 plugin for WordPress -- a great new plugin that returns a page of intelligent search results in place of the unhelpful WordPress 404 error page by using keywords extracted from the dead URL that otherwise would have resulted in a dreaded "Page Not Found" error. The plugin is part of […]

Microsoft developed a new Bing404 plugin for WordPress -- a great new plugin that returns a page of intelligent search results in place of the unhelpful WordPress 404 error page by using keywords extracted from the dead URL that otherwise would have resulted in a dreaded "Page Not Found" error. The plugin is part of the Bing Search Library for PHP project (a wrapper on top of the Bing API, which provides a simple way to submit queries to and retrieve results from the Bing Engine), and was created in conjunction with Cal Evans.

Installation Guide: Download Bing404 plugin from WordPress; Upload the plugin to your blog; Activate the plugin; Insert your AppID.

Installing the Bing 404 WordPress Plugin Demo:

The plugin works in one of two ways:

  1. The plugin includes a 404 page. If you check the option, this'll be the one that's used. This should work in 75%-80% of the cases and requires no code changes to get the plugin working.
  2. If you want to roll your own, include following line in your template's 404.php:
    <?php if(function_exists('bing404_search_bing')) { echo bing404_search_bing(); } ?> 

[Source | Source]