Download the PHP package ambimax/magento-module-ambimax-productnotfoundhandler without Composer
On this page you can find all versions of the php package ambimax/magento-module-ambimax-productnotfoundhandler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ambimax/magento-module-ambimax-productnotfoundhandler
More information about ambimax/magento-module-ambimax-productnotfoundhandler
Files in ambimax/magento-module-ambimax-productnotfoundhandler
Package magento-module-ambimax-productnotfoundhandler
Short Description Handles product redirect if sku is found in url
License MIT
Informations about the package magento-module-ambimax-productnotfoundhandler
ambimax® ProductNotFoundHandler
When importing products the url-key is extended by a continuing number that makes it unique. Additionally a permanent redirect is created from the old url to the new one. Therefore the table grows rapidly and slows many Magento sites down.
To solve this problem we add the sku to the urls and make old urls forever (as long as the product with same sku exists) redirectable without overhead. This module reads the sku from url and redirects to the new url.
Usage
Url must use this pattern
Sku must not contain any characters except for #[^0-9a-z]+#i
Composer
Installation
1) Install like any other (modman/composer) module
2) To enable it please set Configuration > Web > Default Pages > CMS No Route Page (web/default/no_route) to (default: cms/index/noRoute)
3) Add sku and skuLength to all url-key attribute of all products
Example import usage:
Disclaimer
This module comes with no warranty at all.
License
Author Information
- Julian Bour, ambimax® GmbH
- Tobias Schifftner, ambimax® GmbH