You can do that, but then you need to work around the multiple controllers issue. I don't bother these days since I've just gotten used to the url structure. Maybe you're placing too much important on the url (especially for an admin section).
eg i have this: /admin -> routed to /admin/users/dashboard /admin/users/ /admin/users/dashboard /admin/users/login /admin/users/add /admin/images/ /admin/images/add /admin/events/ /admin/events/add etc I only worry about pretty urls for my frontend, but I try not to stray away from the default structure. I suggest you develop everything the standard way, then once your app is "finished" use routes, etc, to customise the urls. You might find you won't worry about it after all. Hope that helps. Cheers, Adam On Mar 4, 6:49 am, Jason <[EMAIL PROTECTED]> wrote: > I am pretty new to cakephp. > > Currently I have the following URL. > > http://localhost/cake/PageControl/add/ > > How would I change this url to.. > > http://localhost/cake/admin/add/ > > while still using the PageControl. The reason for this is logically it > makes a lot more sense. > > My second question.. is it possible map several controllers to a > single URL? > > For example above the controller is page_controller. Would it be > possible to map category_controller to the same 'admin' URL assuming > that the functions were different. > > As I said above I am new, I hope this makes sense and I hope I will be > enlightened. > > Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---