Community Add-Ons

Add file to this package
Top » Other

404 Search Page
for osCommerce Online Merchant v2.2

A custom error page that searches for the missing link.

This contribution allows you to setup a customer error page that takes the URL and searches for matching products.
When you upgrade to a new Oscommerce site your page name will all change and the search engines will link to the old files for sometime. This contribution will help users find what they are loking for.
Consider this:
Original site
The contribution takes mywidget.html removes the .html and searches the database for a match. Any matches are displayed along with an area for helpful instructions to finding the broken link. The criteria for how to split the URI are customizable in the file.

Legend:  Download   Report

Expand All / Collapse All

MySQL 5 fix for 404.php 25 Aug 2006  

Change line 253 to look like this:
$from_str = "from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd) left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c";

Should take care of the "unknown column" error. Thanks to MySQL5 and it's wonderful JOIN updates.


a much better way to move your site... 12 May 2006  
404 Search Page Scott White 4 Feb 2003