|
When i enter an unsecure url in https mode the page loads fine.
like:
https://www.domain.com/myproduct.html
But getURL returns unsecure URLs, even when page was loaded via SSL.
So i get back into http mode with the next click.
Is there any way to force magento to return secure urls when page was loaded via ssl?
something like:
$store = Mage::app()->getStore();
if ($store->isCurrentlySecure()) {
Mage::setConfig(’force_secure’, true);
}
???
Steffen
|