title: Remove component part from sef url, menu item not completely
body: <p>I've built a custom component for joomla 2.5. Now i wanted to implement sef urls. So I started to create the <code>router.php</code> file. I was almost successfull. The only thing I want to change is removing the component name link. Here is what I have got:</p>
  
  <p><a href="http://host.tld/component/componentname/" rel="nofollow">http://host.tld/component/componentname/</a></p>
  
  <p>If I create a menu item with an alias, the sef url looks like this:</p>
  
  <p><a href="http://host.tld/alias" rel="nofollow">http://host.tld/alias</a></p>
  
  <p>This is the actual scheme I want to have, but it is only shown when I clicked the menuitem from the menu. If I am at the home site, this does not work.</p>