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.
Installing the Bing 404 WordPress Plugin Demo:
The plugin works in one of two ways:
- 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.
- If you want to roll your own, include following line in your template’s 404.php: