Tutorial by Examples

return : http://www.example.com/
return : http://www.example.com/my-product.html
$isSecure = Mage::app()->getStore()->isCurrentlySecure(); This will return true if the current url is secure.

Page 1 of 1