I want to to get base-secure-url
without index.php
.
I enabled index.php
for some reason. Now I have a PHP file at Magento root directory, and I want to call Magento secure pages from this PHP file.
Note: i have multi stores in my site
Please provide more ideas on this.
Best Answer
I mention this because no one else has, but I prefer using
Mage::getUrl
orMage::getBaseUrl
. Both of those automatically detect if the page is already secure when you do not specify it.