I also tried some functions like <?php echo Mage::getURL('') ?> or <?php echo $_link->getUrl() ?> but it donÂ´t works for my needs.
So, I explain:
- I have another root directory, a live support script. I also copy and paste html code to Magento, to show online or offline support but this works statically.
- I am trying put this image dynamically, without direct and correct URL dependency.
My actual code is inside links.phtml and is:
So, I defined /websitename like root url but my objective is the system generate the url code dynamically, independent of host.