I would like to get away from using underscores in my URLs. It seems like most SEO works better with dashes instead of underscores. But to try and do this within Cake seems very difficult, and I'm wondering if anyone has any ideas.
Issue #1: Controller names If I have a controller called BestPracticesController, then it would be accessed at "/best_practices". I can make a route which will connect "/best-practices" to "/best_practices", but when I use $html- >link() it will always try to use "best_practices" as the controller name, unless I explicitly tell it not to. How can I get around that? Issue #2: Method names If I have a method (page) called "do_something()", I can only access it at "/controller/do_something", but I'd like to access it at "/ controller/do-something" instead, without having to define every one of my routes. Is there an easy way to accomplish this? It seems like there should be a configuration option in the Router which allows you to configure your separator, eg: using "-" instead of "_". What does the Cake community think about these issues / ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
