This tutorial show how to change header links in Magento template.
Almost each Magento store has header links like: My Account, My Whishlist, My Cart, Checkout, Log In . Each header link is located in separate XML file.
Open the Magento installation directory on your server then go to "app/design/frontend/default/theme###/layout" folder. Most of the required files are located here.
In case you are missing any files in the "app/design/frontend/default/theme###/layout" folder you can edit them in the "app/design/frontend/base/default/layout" folder
My Account
Open customer.xml file. There locate the following code:
<default>
<!-- Mage_Customer -->
<reference name="top.links">
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
</reference>
</default>
In order to change the menu button name change the <label> value (<label>My Account</label>)
To change the link URL edit the url helper value: <url helper="customer/getAccountUrl"/>
In the same customer.xml file you can edit the Log In and Log Out links
Log In
<reference name="top.links">
<action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action>
</reference>
Log Out
<reference name="top.links">
<action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action>
</reference>
My Whishlist
<reference name="top.links">
<block type="wishlist/links" name="wishlist_link"/>
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
</reference>
My Cart and Checkout
My Cart and Checkout links can not be modified in the XML files. You can only remove them from the header menu. The code for these links is located in the checkout.xml file:
<reference name="top.links">
<block type="checkout/links" name="checkout_cart_link">
<action method="addCartLink"></action>
<action method="addCheckoutLink"></action>
</block>
</reference>