Please check code in new submodule SNH_CategoryParentUrl
(committed to code @ 25/8 20:32 EU time)
This sub module should
This module adds a yes/no option labelled as "Use Parent Category Path for Category URLs" on
Magento Admin Panel -> System -> Configuration -> Catalog -> Seo Options
to remove parent category path from url and change it from
www.domain.com/cat1/cat2 to www.domain.com/cat2
please quickly debug code so it works
(please dont spend to much time, code examples are provided)
Add code to revert to default Magento if extension set to no or is null
Please check code in new submodule SNH_CategoryParentUrl (committed to code @ 25/8 20:32 EU time)
` /* SNH custom code Magento 1.8.1 verify before upgrade */ $configValue = Mage::getStoreConfig('catalog/seo/category_use_parentcategory',Mage::app()->getStore());
`
use this for example or input http://freegento.com/magento-extensions/activo_categoryurlseo-2.0.0.tgz or this for example code (that works) http://freegento.com/ddl-magento-extension.php?ext=http%3A%2F%2Fconnect20.magentocommerce.com%2Fcommunity%2Factivo_categoryurlseo