Ok, my question changed. I can do this with :param syntax. However, this doesn't seem to be working with dashes or anything else besides slashes.
I think this is a known fact...was it addressed in 1.2? On Nov 13, 11:09 am, vlad <[EMAIL PROTECTED]> wrote: > Hello to all. > > I've read all that i could find on Cake Routes, but did not help me. > Maybe someone here can, please :) > > I have to rewrite a website. I have some heavy links with a lot of > words that need to be stripped out. > e.g.: /Hotel__NAME-CITY,judetulDISTRICT.html needs to become /Hotel- > NAME-CITY-DISTRICT > > So, my question is, can i use (pattern) ... $1 mod_rewrite-like syntax > in cake routes? I need this to construct that old URL parameter. > Problem is, these links need to be translated. So, they will be a bit > different for each language... > > I'm on Cake 1.1, should i switch to 1.2? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
