Link sidebar to a page

Hi!

How can I link some pages to my sidebar plugin? 

The sidebar appears with its categories, but when I click on one of them there don't show the page on which I created my link; I tried to write this code:

<div class="elgg-sidebar">
<?php

$categorie=elgg_get_site_url() . "my_plugin/views/default/pages/mypage.php";
$categorietitle=elgg_echo('Profilo A');
$categorie1=elgg_get_site_url() . "my_plugin/views/default/pages/mypage2.php";
$categorietitle1=elgg_echo('Profilo B');


echo '<ul class="elgg-menu elgg-menu-page elgg-menu-page-default">
<li class="elgg-menu-item-bookmarklet"> <a title="';
echo $categorietitle; echo ' "href="';
echo $categorie; echo '">'; echo elgg_echo('Profili A'); echo '</a><a title="';
echo $categorietitle1; echo ' "href="';
echo $categorie1; echo '">'; echo elgg_echo('Profili B'); echo '</a><a title="';

echo $categorietitle2; echo '" href="';
echo $categorie2; echo'">';echo elgg_echo('Profili C');echo '</a><a title="';


echo $categorietitle3; echo '" href="';
echo $categorie3; echo'">';echo elgg_echo('Profili D'); echo '</a><a title="';
echo $categorietitle4; echo '" href="';
echo $categorie4; echo'">';echo elgg_echo('Profili E'); echo '</a><a title="';
echo $categorietitle5; echo '" href="';
echo $categorie5; echo'">';echo elgg_echo('Profili F'); echo '</a></li></ul>';

?>
</div>

 

where I am getting wrong? 

Any help would be appreciated, thanks