You would be best served by triggering your route using a conditional statement in your routes file then using a custom route class to verify the username passed in and returning the correct controller/action to dispatch.
On Jan 17, 2013, at 12:39 PM, gonzela2006 <gonzela2...@gmail.com> wrote: > I have tried the following > Router::connect('/*', array('controller' => 'posts', 'action' => 'view', > 'members'=>1)); > and the result is > http://domain.com/username/post-alias > and it works but the all other links give me 404 not found > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > 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+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.