-
Recent Posts
Recent Comments
Archives
Categories
Meta
Author Archives: admin
Magento – Programmatically Add Entries to URL Rewrite Mgmnt Console
Mage::getModel(‘core/url_rewrite’) ->setIsSystem(0) ->setStoreId($storeId) ->setOptions(‘RP’) ->setIdPath(‘index.php?cat=c’ . $oscCategoryId . ‘_’ . $this->strip($data['name']) . ‘.html’) ->setTargetPath($categoryModel->getUrlPath() . ‘.html’) ->setRequestPath(‘index.php?cat=c’ . $oscCategoryId . ‘_’ . $this->strip($data['name']) . ‘.html’) ->save();
Oscommerce to Magento Product Import with URL Mapping for SEO
Here is a brief writeup on how to import products and categories from an osCommerce based store and at the same time generate a RewriteMap to map your previous shops URL’s to your new ones using 301 redirects. Steps are … Continue reading
Posted in Lab
2 Comments