How do you pass a filter value by url in drupal 8?

On my website I have a view with a select to filter the results. This result is based on taxonomy term.

I have 4 options, All, badkamerrenovatie, elektriciteit and verwarming.

How can I set the filter by url so that I directly have a filtered list if people click on a link related to the taxonomy term. For example if people are on page elektriciteit and click trough to realisatie they see the filtered list and don't have to choose from the select.

1 Answer 1


This can be done using Contextual Filters under Advanced Settings of View Edit Page. You can add URL parameters as filters in it. This link will help you in detail



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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