How I can remove store code from default store URL of my website?
www.domain.com/it/ **DEFAULT STORE** www.domain.com/en/ **ENGLISH STORE**
www.domain.com/ **DEFAULT STORE** www.domain.com/en/ **ENGLISH STORE**
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
en are the store view code, you can config them in
admin->system->store manager->store view->code, now you can access to the store view either on enabling the code store view in the url in:
admin->system->configuration->Web->Add store code to URLs->Yes, either to type this in the URL:
Now if want to remove the code from url, you have to set :
Add store code to URLs->No, and you can always type it in the URL
If you have multiple store and want to remove ?___store=
Go to \app\code\core\Mage\Core\Model\Store.php line number 1153
$storeParsedQuery['___from_store'] = $fromStore === true ? Mage::app()->getStore()->getCode() : $fromStore;
Just comment it..