title: how to change header toplinks names in magento 1?
body: <p>I have this static header toplink with 4 links: My account, My cart, checkout, login.</p>
  
  <p>I want to change the names and the ahrefs of these 4 links, how can I do this?</p>
  
  <p>This is my header.phtml file:</p>
  
  <pre><code>&lt;div class="header-container"&gt;
  
  &lt;div class="topbar"&gt;
      &lt;?php echo $this-&gt;getChildHtml('topLinks') ?&gt;
      &lt;?php echo $this-&gt;getChildHtml('topSearch') ?&gt;
  &lt;/div&gt;
  
  &lt;div class="header"&gt;
      &lt;a href="&lt;?php echo $this-&gt;getUrl('') ?&gt;" title="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" class="logo"&gt;&lt;img src="&lt;?php echo $this-&gt;getSkinUrl('images/logo.png'); ?&gt;" alt="&lt;?php echo $this-&gt;getLogoAlt() ?&gt;" /&gt;&lt;/a&gt;
  
      &lt;?php echo $this-&gt;getChildHtml('topMenu') ?&gt;
      &lt;?php echo $this-&gt;getChildHtml('topCart'); ?&gt;
  
      &lt;?php if(Mage::getModel('cms/block')-&gt;load('header-notice')-&gt;getIsActive() == "1") { ?&gt;
  
          &lt;div class="notice"&gt;
              &lt;?php echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('header-notice')-&gt;toHtml(); ?&gt;
          &lt;/div&gt;
  
      &lt;?php } ?&gt;
  
      &lt;?php //echo $this-&gt;getChildHtml('topContainer'); ?&gt;        
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>And this is my links.phtml file</p>
  
  <pre><code>    &lt;?php $_links = $this-&gt;getLinks(); ?&gt;
  &lt;?php if(count($_links)&gt;0): ?&gt;
  &lt;ul class="links"&lt;?php if($this-&gt;getName()): ?&gt; id="&lt;?php echo $this-&gt;getName() ?&gt;"&lt;?php endif;?&gt;&gt;
      &lt;?php foreach($_links as $_link): ?&gt;
          &lt;?php if ($_link instanceof Mage_Core_Block_Abstract):?&gt;
              &lt;?php echo $_link-&gt;toHtml() ?&gt;
          &lt;?php else: ?&gt;
              &lt;li&lt;?php if($_link-&gt;getIsFirst()||$_link-&gt;getIsLast()): ?&gt; class="&lt;?php if($_link-&gt;getIsFirst()): ?&gt;first&lt;?php endif; ?&gt;&lt;?php if($_link-&gt;getIsLast()): ?&gt; last&lt;?php endif; ?&gt;"&lt;?php endif; ?&gt; &lt;?php echo $_link-&gt;getLiParams() ?&gt;&gt;&lt;?php echo $_link-&gt;getBeforeText() ?&gt;&lt;a href="&lt;?php echo $_link-&gt;getUrl() ?&gt;" title="&lt;?php echo $_link-&gt;getTitle() ?&gt;" &lt;?php echo $_link-&gt;getAParams() ?&gt;&gt;&lt;?php echo $_link-&gt;getLabel() ?&gt;&lt;/a&gt;&lt;?php echo $_link-&gt;getAfterText() ?&gt;&lt;/li&gt;
          &lt;?php endif;?&gt;
      &lt;?php endforeach; ?&gt;
  &lt;/ul&gt;
  &lt;?php endif; ?&gt;
  </code></pre>