Is it possible to remove language prefix and store name from the home page URL?
I'm trying to set a single store, single language site. So I don't need this part in my store URL: "/en-us/electronics". I hope there is a way to use just root URL for the home page.
This won't desirable in your brand home page link in search engine results.
Thank you! I applied particular changes from dev and now it works.
did you eventually manage to remove lang from URL?
It is possible not to show store in url if you go to store settings and set Store url or Store secureUrl.
This must be root url of you site, then store is not used in routing. Check the code StoreRoute.cs.
For language this is not possible, but probably it is possible to remove it from route in same way. The code could check that store has only one language available and in that case remove it from url.