On Feb 7, 8:34 pm, martinp <[EMAIL PROTECTED]> wrote:
> I should maybe also add that I'm trying to also implement the
> Translate Behaviour with this and the slug field would be hopefully be
> translatable as well, so it has to read from the i18n table.

I would recommend using urls of the form
/a number/whatever/you/want

or any url so long as you have something unique and in a specific
place to find what you are looking for and
where 'a number' is (probably) the id of the item with the slug "want"

Then
     Use the number to find what you are looking for;
     Check the slug is what it should be and redirect to the correct
id/slug if not
     Move along, nothing to see here.

if you want users to be able to type their own urls to find stuff;
have /search/I/want/this redirect to /a number/I/want/this if it
exists etc.

Especially useful tactic if you want multilingual content to be
reflected in the url.

my 2c, hth,

AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to