You can do exactly what you want using custom routing (Check the cookbook).
But, as euromark pointed out, you'll need to ensure that users can't register with your existing controller names, and that you have some filtering in your route to make sure that your other controllers still work. On Jan 7, 3:19 pm, rahulb <[email protected]> wrote: > Hello, > I want to know whether , there is any way by which I can > change the routing mechanism of cakephp. > For example, > If i want to change my routing mechanism in such a way that i can > manipulate urls like these : > http://my.website.com/[username]/profile > Where the [username] will be the name of the user and every new user > who registers with my site , should be able to access his profile in > the manner given above. > > Is there a way by which this can be achieved.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
