voodish logo
Skip to: Content | Navigation | Site map

Magento admin link to website

Easily create your own link from the Magento admin panel to the frontend website.

magento admin link.jpg

One frustrating omission from the standard Magento admin panel is the lack of a link to the main website. Sure you can copy and paste the URL into a new tab or window, but when your developing a lot of sites, it’s nice just to have a link there ready.

So without further ado…

1. Open your admin header.phtml file into your favorite text editor, find it here:

app/design/adminhtml/default/default/template/page/

2. Locate the Log Out link around line 31, and add the following:

<span class="separator">|</span> <a href="/">View website &gt;</a>

3. Upload and test.

As Magento developments are often quite long and technical, this has proven a valuable albeit simple inclusion to the admin.

Related Articles

Comments RSS Feed

1 Comments

  1. iyye July 20, 2010

    good write thanks perfect

  2. Go to Top of the page

Leave a comment