I had a similar idea with regard to url slugs for my blog but ultimately decided that it would be a bad idea. I tend to tweak titles of articles as I expand on them so then I would have to worry about Google indexing the old title and then having to 301 redirect to the new title. Or people bookmarking an old title etc. It just gives much less flexibility to change the page title on the fly. I ended up just going with a url like http://domain.com/content/$id/my-cool-page-title/. Here's an example on my blog (Still in development) http://code621.com/content/5/a-new-cakephp-community.
Btw, for your slug function, why not just use: Inflector::slug ($pageTitle, '-') . '.html'; You can change it to add your page numbering jammy. But that's a cleaner way to slugify. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
