Feature: Taxonomy term custom links
Remove the default links to the taxonomy terms, and add custom links instead
If the name of the field referencing the taxonomy term is ‘xyz’, create a file field–node–field-xyz.html.twig.
Add the code, as shown below, to change the default path of the taxonomy term ‘/taxonomy/term/tid’, to ‘/yourpath/termName’
Note: The div class names may vary based on the field settings