Add ability for module names to be hyphenated as part of url routes #1560

Closed
acorncom opened this Issue Oct 12, 2012 · 1 comment

2 participants

@acorncom

Currently, module names can be anything we want, but URL routing of module names effectively limits them to \w characters, which seems to be everything commonly needed except hyphens.

Adding hyphens as an option to module names would increase SEO friendliness. Per Google's URL structure page:

The URL http://www.example.com/green-dress.html is much more useful to us than
http://www.example.com/greendress.html. We recommend that you use hyphens (-) instead of underscores (_) in your URLs.

@cebe
Yii Software LLC member

you can use url routes to allow any character you want.

@cebe cebe closed this Oct 14, 2012
@cebe cebe was assigned Oct 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment