On Jun 8, 11:44 pm, fadhli - <[email protected]> wrote:
> hi everyone.
>
> i'm new in cakephp and i want to know how to 
> makehttp://www.example.com/home/index.phpin cakePHP.
> 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 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

Reply via email to