A new tip I just found out.
If you want to link do special links to the installation sometimes this plays up:
<?php echo $this->Html->safe($this->base_uri);?>
Use this code instead:
<?php echo $this->Html->_($system_company->hostname, true); ?>
Doing a customer's integration I found it and it's so much better.