How to change taxonomy url in node view page?
the code below replaces term/{%term_id} by node/39?technologie={%term_id} with THEME_preprocess_field :

use Drupal\Core\Url;

function MYTHEME_preprocess_field__FIELD_TAXO_MACHINE_NAME(&amp;$variables, $hook){

    foreach ($variables['items'] as $index =&gt; $item) {

      $route_name = 'entity.node.canonical';
      $params     = 39;
      $tid = $item['content']['#options']['entity']-&gt;id();

      $options = [
        'query' =&gt; ['technologie' =&gt; $tid],
      ];

     $url = Url::fromRoute($route_name, array('node' =&gt; $params), $options);
     $variables['items'][$index]['content']['#url'] = $url;
  }
}