Yes, I know this issue has been raised in the past (a long while ago), but there's been no satisfying answer yet.
Basically, best SEO practices say that we should be using hyphens instead of underscores in our URLs, since search engines such as Google have an easier time parsing "my-page", rather than "my_page", as two separate words (and thus a distinct search term). Is it time for Cake to look at allowing hyphens instead of underscores in URLs? Before anyone says "OMG you can just do this" (as Nate suggested at http://trac.cakephp.org/ticket/1727 ): $_GET['url'] = str_replace("-", "_", $_GET['url']); that's fine for parsing incoming URLs, but it doesn't even come close to providing a solution since links generated by the Cake router (i.e. via the HtmlHelper etc.) use underscores instead of hyphens, and that's that. So for those of us who want to use hyphens instead of dashes, we need to enter manual URLs instead of using Cake's routing capabilities. So, sure, we can translate incoming links, but we can't generate the proper links in the first place. Has anyone thought of a solution? Is the Cake team contemplating adding support for multiple URL separators? Any home brew hacks out there? - Jamie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
