Magento – Magento remove “default” store code from urls

magento1.9.2.4multistorestore-viewstoresurl

I have installed Magento ce 1.9.2.4 for my website.

Now I have setup the stores in such a way that my every url has store code of the current store, visitor is in, appended to it.

For business(bedrift) store the store code being appended to url like http://example.com/bedrift is fine but I want to remove default store code from urls so my urls become from http://example.com/default to http://example.com but the store session is maintained.

I have tried with .htaccess but it creates infinite redirects and then browser shows error.

Can anyone help me fix this the Magento way ?

Best Answer

Go to system->Configuration. Then go to web tab. You can see there is an option 'add store code to url set that option to no.. It will remove the default word from your url

Related Topic