I've a problem with my drupal view at path I uses /persons
, this works fine.
http://example.org/persons/ shows the right view,
but when I type http://example.org/persons/asdasd it show's my view, too. But I only want to show the view under http://example.org/persons/
How can I avoid that problem or is there some setting I've missed?
Here is what you can do:
Edit the view and open Advanced, on the right top
Add a contextual filter: Global: Null
Tick 'Display all results', Click More at the bottom and tick 'Fail basic validation if any argument is given'
Now, if you put anything in front of the url, it will give you a 404 page