Will it work for Cakephp1.1 ?

Thanks

On Jun 2, 2:02 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> http://bakery.cakephp.org/articles/view/custom-urls-from-the-site-root
>
> On Sun, Jun 1, 2008 at 4:09 PM, CakeMan <[EMAIL PROTECTED]> wrote:
>
> > Well, i needs to make my URLs such ashttp://www.mysite.com/username
> > Where usernames are the usernames choosed by the members of the site.
> > I want to show the profile of that user whoses username is in the URL
> > ashttp://www.mysite.com/username
>
> > I hope i am clear.
>
> > Thanks
>
> > On Jun 1, 7:21 pm, ar2oor <[EMAIL PROTECTED]> wrote:
> >> do you mean
>
> >> $Route->connect('/admin/:controller/*', array('action' => 'index'));
> >> and/or
> >> $Route->connect('/admin/:controller/:action/*');
>
> >> ?
>
> >> On 1 Cze, 16:15, CakeMan <[EMAIL PROTECTED]> wrote:
>
> >> > Hi,
>
> >> > I am working on an website in Cakephp 1.1. I need to make the URLs
> >> > such ashttp://www.mysite.com/USERNAME
>
> >> > I have changed the Route in routes.php in config<-App folder to
> >> > $Route->connect('/*', array('controller' => 'controllerName', 'action'
> >> > => 'actionName'));
>
> >> > This solved my above problem. However, now i got another problem with
> >> > my other static pages such as my contact page is 
> >> > ashttp://www.mysite.com/contacts
> >> > Now this page is also redirecting to the above controller. I have
> >> > solved this problem as well with manually mentioning this in
> >> > routes.php again
>
> >> > $Route->connect('/contacts', array('controller' => 'contacts',
> >> > 'action' => 'index'));
>
> >> > This solved my problem. But now i have to enter an Route for every
> >> > static page as i have done with contacts page.
>
> >> > I have lots of lots of static pages. I need to enter an route for all
> >> > of them. I don't want to enter so many routes in routes.php.
>
> >> > Is there any alternative for this ?
>
> >> > Please help !!
>
> >> > Thank !!
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to