I got the following two statements for my dutch store (Magento 22.214.171.124), with the following issues:
<?php $_BaseUrl=Mage::app()->getStore()->getHomeUrl() ; ?>
With this statement I am getting the home page plus '/nl', but I just need it without the 'nl'. Example: I get www.homepage.com/nl instead of www.homepage.com
<?php $countryId=Mage::app()->getStore()->getCode(); ?>
With this second statement, I get 'Netherlands' instead of 'nl'
Could you guys help me to achieve what I want? PHP version is 5.6.31
Thanks for your collaborations.