Saturday, June 12, 2010

Re: controller and view extention problem.

Yes, there is an HTTP status code specifically for that:

Status: 301 Moved Permanently
Location: http://yoursite.com/new/page/location

http://www.somacon.com/p145.php

On Jun 12, 2:30 am, Sam Sherlock <sam.sherl...@gmail.com> wrote:
> seo redirect old url to new one.
>
> new one being cake address
> - S
>
> On 12 June 2010 10:07, fadhli - <e.fad...@gmail.com> wrote:
>
> > I have to usewww.example.com/home/index.phpaddress because it was used
> > in the website address rating.
>
> > On Thu, Jun 10, 2010 at 12:12 AM, cricket <zijn.digi...@gmail.com> wrote:
>
> >> On Jun 8, 11:44 pm, fadhli - <e.fad...@gmail.com> wrote:
> >> > hi everyone.
>
> >> > i'm new in cakephp and i want to know how to makehttp://
> >>www.example.com/home/index.phpincakePHP.
> >> > controller without 's' (home not homes)
>
> >> In routes.php:
>
> >> Router::connect(
> >>  '/home',
> >>  array('controller' => 'homes', 'action' => 'index')
> >> );
>
> >> > and to view page i must use php
> >> > (index.php not index.ctp) extextion.
>
> >> There's no need to have index.php in the URL. And your URLs should not
> >> ever have "something.ctp" in them. The .ctp files are templates;
> >> they're not supposed to be accessed directly through a URL.
>
> >> Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >>http://groups.google.com/group/cake-php?hl=en
>
> >  Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate