CakePHP Visible URL Links Using Proper Routes
If you are every writing body content that requires you to mention a local URL then you are like to be tempted to write a very static, such as:
http://yourdomain.com/users/login
Instead it’s better to use CakePHP routes, just in case you change the URL structure of your site (ie, to use pretty urls, etc). So instead do something like this:
link(Router::url(array('controller' => 'users', 'action' => 'login'), true), array('controller' => 'users', 'action' => 'login')) ?>


