Cakephp default url pointing to the problem when reading note index s and no scakephp default access localhost is not pointing to localhostindex now I did not create index, so this path shows NotFoundError: Therequestedaddresswasnotfoundonthisserver. I have created an indexs_contro cakephp default url pointing problem
Note that the index has s and no s
When cakephp accesses localhost by default, doesn't it point to localhost/index?
I didn't create an index now, so this path shows Not Found
Error: The requested address '/'was not found on this server.
I have created indexs_controller.php.
However, by default, the controller of cakephp is plural ,,
Therefore, the page is correct only when you access localhost/indexs ,,
However, by default, the cakephp route points to localhost/index.
How to change the default point to localhost/indexs
------ Solution --------------------
In config/routes. in the php file, set the file jump route. Router: connect ('/', array ('controller' => 'Pages ', 'Action' => 'display ', 'Home'); set the controller and action in it!