You could retrieve the list of urls of all the categories of a product with the following code:
<?php
$categories = $_product->getCategoryIds(); //$_product: Mage_Catalog_Model_Product
foreach ($categories AS $category) {
echo Mage::getModel('catalog/category')->load($category)->getUrl(); //get all the URLs here
}
?>
UPDATED: (To exclude certain category)
<?php
$categories = $_product->getCategoryIds(); //$_product: Mage_Catalog_Model_Product
foreach ($categories AS $category) {
if ($category != REPLACE_WITH_YOUR_HOME_CAT_ID_HERE) {
$cat = Mage::getModel('catalog/category')->load($category);
echo "<a href=\"" . $cat->getUrl() . "\"><i class=\"test\"></i>See all " . $cat->getName() . "</a>";
//to print only one link
break;
}
}
?>