Snippets with the tag: url

Base Secure URL

Description

Get the base secure store URL

Code

Mage::getBaseUrl('web', true);

Changing the admin URL

Description

Changing the Admin URL: Open the /app/etc/local.xml file, locate the <frontName> tag, and change the ‘admin’ part it to something a lot more random.

Code

Show image html

Description

Show image using current skin path (PHTML)

Code

logo

Show image cms

Description

Show image using current skin path (CMS)

Code

How to check for https

Description

How to check for https

Code

if (!Mage::app()->getStore()->isCurrentlySecure()) { ... }

Skin URL

Description

Skin URL

Code

echo $this->getSkinUrl('images/test.jpg');