Project Description

For large web sites with extensive amounts of content, 2 to 10 percent of traffic is looking for pages that either don’t exist or have been moved. Most web servers return a generic 404 error page or a sitemap when a user’s desired page cannot be found. These unhelpful pages often result in a dead end for users. With the Bing 404 Web Page Error Toolkit for PHP Developers, you can create dynamic 404 pages that contain customized error messages along with search results from Microsoft’s Bing Search Engine seeded with relevant keywords to help your users move past the missing page and find the information they need. The Toolkit is a customizable PHP application that replaces the default error page on your IIS or Apache web servers with Bing search results based on keywords derived from the URL requested by the user.

The Toolkit is composed of PHP and Javascripts code that replaces the default error page on your web server. The process works as follows:
  • A user's browser sends a request for a page that no longer exists at the request URL.
  • Your server identifies a 404 and executes the Toolkit.
  • Toolkit extracts keywords and renders them back to the user's browser.
  • User's browser sends a request to Bing API.
  • Bing API returns appropriate results to user's browser.
  • User's browser renders results in the context of the page that you have customized.

The Toolkit enables you to use the Bing API to return results for the specified domain and locale, control the number of results returned on your page, choose whether to offer spelling corrections, and customize your error message.

For complete documentation please refer to the /doc folder after unziipping the downloaded package.
Last edited Nov 17 2009 at 4:13 AM by suchawla, version 8

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Updating...
© 2006-2010 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.1.12.16187