Change mangeto domain name

4 steps: first, upload all files to your new web hosting; second, restore your mysql database to your new one; third, edit /app/etc/local.xml, and update to your new mysql database information, take care the following code:

How to remove magento parent category path from sub category url

How to remove parent category path from sub category url? Instance: http://www.eye4eyeglasses.com/eyeglasses/cheap-eyeglasses I just want the category c url is http://www.eye4eyeglasses.com/cheap-eyeglasses Edit /app/code/core/Mage/Catalog/Model/Url.php Find around line 632 and change: //if (null === $parentPath) { //$parentPath = $this->getResource()->getCategoryParentPath($category); //} //elseif ($parentPath… Read moreHow to remove magento parent category path from sub category url