I'm using Magento with multiple stores and store views (1 website, 4 stores with one store view each). I activated the option "add store code to urls" and can access my different stores via http://example.com/storecode/, which works fine. However i have one store code which should be named after two words for SEO purposes. Unfortunately Magento only allows to use an underscore (_) instead of a dash (-) as store code:
The store code may contain only letters (a-z), numbers (0-9) or underscore(_), the first character must be a letter.
As dashes are recommended to separate words in URLs, I'm looking for a method to use a dash as store code. Overriding Magento's validation is no problem, but I'm wondering if there's any special reason dashes are disabled here. Does anybody have an idea?
Thanks, Mathias