I am importing categories from external script. All working fine with import.
But with URL KEY Magento is changing value automatically. And I want the url same as I am passing from script.
1) Man_Jeans-1-1 //I am passing from script 2) man-jeans-1-1 //Magento saving like this
1st one is the value that is passed from script like,
$cleanurl = "Man_Jeans-1-1"; $category->setUrlKey($cleanurl);
But value is automatically changed like 2nd one. Is there anyway I can fix this issue?
I don't want Magento to change the url key.