Friday, July 20, 2012

magento base url without index.php (relative url)?

<?php echo Mage::getStoreConfig('web/unsecure/base_url');?>

3 comments:

  1. Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
    //http://magento.demo/

    ReplyDelete

Please mention your comments.......