I have installed Magento ce 18.104.22.168 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 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 ?