Friday, August 24, 2012

Re: CakePHP 2 and hyphens on the router

Do you mean with slugs? You can specify the separator to use in the behavior.

On Fri, Aug 24, 2012 at 5:25 AM, Mohammad Naghavi <mohamnag@gmail.com> wrote:
> Hi there,
> so I already know many TRICKS which can result in using hyphens instead of
> underscores but the question is that even when the Google is clearly
> suggesting to use hyphens for the sake of better search results, is such a
> feature included in CakePHP 2 or is there a right way of doing it inside the
> router so that both generated and parsed URLs use hyphens?
> I was trying to avoid implementing a Router from ground up, so asked for
> help.
>
> regards,
> Mohammad
>
> --
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.

No comments: