The main entry point of our webshop is shop.com/dashboard. When I want to redirect to this page, I use Mage::getUrl('dashboard') and it works fine. However, when in a specific website (E.g.: shop.com/branded-shop), Mage::getUrl('dashboard') returns shop.com/branded-shop/dashboard. Same goes for login/register/account/... links. How can I generate a link using Magento's getUrl methods, that always points me too /dashboard, so without the website folder (branded-shop)?

  • What is branded-shop a store or website? Please explain your magento installation. Aug 19, 2016 at 10:52
  • branded-shop is folder containing an index.php where $runCode = 'branded_shop' and $runType = 'website'... Base URLs are set accordingly in the config for this website... Aug 19, 2016 at 10:55


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.