URL alias for taxonomy in drupal 7 On a Drupal 7 site with pathauto installed I'm using a view to show all taxonomy terms of a given node. The terms are linked to the term's page. The problem is, that the path of those terms does not use the url alias' that are set for the terms. Is there a way (without programmatically rewrite the view) to use alias in a view?

I know about the globalredirect module, but a redirect is not a clean solution here, in my opinion. And I do not understand why the pathes aren't replaced by there aliases in a view, can someone explain please?
&lt;div id="nos_produits" class="grids_of_3 grids_of_3_accueil"&gt;

&lt;?php 


$field = $view-&gt;result;
?&gt;

&lt;?php 

    foreach($field as $obj){


     $url = drupal_lookup_path('alias', 'taxonomy/term/'. $obj-&gt;tid);

?&gt;
&lt;div id="nos_produits" class="grids_of_3 grids_of_3_accueil"&gt;
&lt;div class="grid1_of_3 div_cat_accueil"&gt;

    &lt;a href="&lt;?php echo $url;?&gt;"&gt;
        &lt;div&gt;
            &lt;p&gt;&lt;span&gt;&lt;?php echo $obj-&gt;taxonomy_term_data_name;?&gt;&lt;/span&gt;&lt;/p&gt;
        &lt;/div&gt;
        &lt;img src="http://faliam.com/demo/sites/default/files/styles/catalogueimage/public/catalogue/&lt;?php echo $obj-&gt;_field_data['tid']['entity']-&gt;field_illustration['und'][0]['filename'];  ?&gt;" alt="" height="300" width="368"&gt;

    &lt;/a&gt;


    &lt;/div&gt;
    &lt;/div&gt;

&lt;?php

}

?&gt;
&lt;/div&gt;