I added CakeDC-Users plugin in app/plugins.
Now for http://example.com/ , if i click the home/index link, it wrongly redirects to http://example.com/users/posts/index , but it should be http://example.com/posts/index .
Why is the plugin ‘users’ always added before the respective controller?
If i delete the CakeDC-Users plugin from app/Plugin and delete that line CakePlugin::loadAll(); from bootstrap.php then i get normal link/route
routes.php:
Router::connect('/', array('controller' => 'posts', 'action' => 'index'));
How can i fix that problem addin CakeDC-Users plugin
That is the way how plugins are accessed. You can define your custom route this way
This will be done in app/Config/routes.php
if it is for link issues you will have to explicitly specify
But i would prefer custom routing.
For more info, you can always sneak into the CookBook