Magento – dynamic URL

Even though it is only a short and not quite sure allumfänglich applicable entry:

Would like to link to, for example in a phtml file on a link in the shop, which should be dynamic, so that it is available, for example, by switching to the live system or in another store's Views, it must

instead of

http://www.IhreDomain.com/index.html/shop.html

only

/shop.html

be entered. He then places it in front of the store base URL.

As I said,, this is only a short throw no-frills.

Used in Magento versions 1.4.1.1 and 1.5.1.0 Comments? Additions? Notes? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *