Contextual filter only working on one URL I've been going through posts such as View block not accepting contextual filter argument, Contextual filter on Views Block file not found, How do I get a block to use a URL to configure a contextual filter?, Contextual filters help, Contextual filter with a block view and more to find the solution or my issue with no luck.

In short my contextual filter only works on 1 of 5 pages I want it to work on (they other 4 pages doesn't return any results). The working page is label/artists

I've got a taxonomy vocabulary called site_sections and an artist content-type. I've got a View Block of artist teasers, that I want to filter contextually by a part of the url alias.

I've got a term reference on each artist node to the site_section terms which are


label
publicity
shop
management
wholesale


My view is a block showing artist teasers. The block is displayed on these URL aliases:


label/artists
publicity/artists
shop/artists
management/artists
wholesale/artists


My contextual filter:


Content: Site section (field_site_section)


WHEN THE FILTER VALUE IS NOT AVAILABLE


Provide default value: Raw value from URL
Path component: 1
Use path alias: Y


WHEN THE FILTER VALUE IS AVAILABLE OR A DEFAULT IS PROVIDED


Specify validation criteria: Taxonomy term (site section)
Filter value type: Term name converted to term ID
Transform dashes in URL to spaces in term name filter values: Y
OK, found my error.

On the artist block configuration I'd copy pasted urls except for the label, it said:

`label/artists shop/artists/ management/artists/ wholesale/artists/ publicity/artists/`


Removing the trailing slashes did the trick.