My frontend url and backend url isn't the same.
example,
Frontend : http://magento.com/
Backend : http://my.magento.com/
then,
How to get the Frontend base url from Backend ?
我没有带有自定义管理区域URL的商店,但我想这应该可以工作:
Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.