A custom error page that searches for the missing link.
Description:
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 www.mydomain.com/mywidget.html
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.
MySQL 5 fix for 404.php
08/25/2006 by nickdwhite
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.
NOT FULL PACKAGE
a much better way to move your site...
05/12/2006 by rin67630
If you need to move your site to a new address, and you still have the possibility to keep the old address reachable for a couple of months, you might use that hidden "feature" of OSCommerce:
On your old side, change the folder settings of "configure.php" to your new address.
-----------
define('HTTP_SERVER', 'http://your-new-shop'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://ssl.your-new-shop'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'your-new-shop');
define('HTTPS_COOKIE_DOMAIN', 'ssl.your-new-shop');
-----------
If a visitor access the old address (possibly through a search engine result), he will see your old shop, and have all the embedded links pointing to your new address.
The first click will throw them to your new shop.
Isn't OSCommerce really great?
;-)
Enjoy
Michel Firholz
404 Search Page
02/04/2003 by Scott White
A custom error page that searches for the missing link.
Description:
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 www.mydomain.com/mywidget.html
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.
As experienced osCommerce Experts, we are glad to help you to install this addon. The process is as follow:
- You placed an order of this addon or other addons, checkout and receive an email notification of order status
- Or you can contact us directly using email form, asking us to install this addon for you
- Once you and we have agreed to start, please send us FTP access by email
- You will be updated of the installation status
- You may ask for customization jobs of this addon
You Risk Nothing: No Upfront Payment Required
Our
NO RISK POLICY is clear. You pay only for the successful completion of the installation. If you are not satisfied or we are unsuccessful, your site will be returned to its previous working state and
you pay nothing! NOT A PENNY!
Once you are satisfied with our help, you can pay us through Paypal.