I'm using Drupal 8 and i want different vocabularies to be displayed by different views. Each view should have a different path with a contextual filter but when i define my path on pathauto the alias will be pointed to the system path.

I know there's modules that solve this like Taxonomy Display and Entity Path but because i'm using version 8 i really can't afford these modules.

Can you help me to change the default system path of each taxonomy vocabulary to correspond to a custom view?

Thank you for reading

  • Hm, I don't understand your problem. Can you maybe add some samples of what you mean exactly? You have to define the paths inside the view (if it's a views page) or (if it's a block) define the alias of the page you want to place the block at.
    – leymannx
    Apr 26 '18 at 0:05
  • Apart from that there's the Redirect module which let's you configure to always redirect to the alias path.
    – leymannx
    Apr 26 '18 at 0:08
  • @leymannx Thank you for the answer. My path has contextual filters like /collection/[collection:title] and brand/[brand:title]. Each one of these paths has a different view wich will override the default taxonomy view taxonomy/term/%. Path auto doesn't set alias to the views i created instead it defines a path for the default taxonomy view taxonomy/term/%. The only way to do this is to change the system path manually. I would like to know if there's a way to do it massivelly in order to change the system path of all the alias of a specific vocabulary. Apr 26 '18 at 8:23

I solved my problem installing the module: Taxonomy Views Integrator - https://www.drupal.org/project/tvi.

It's easy to set a view to display both taxonomy terms and vocabularies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.