I'd like to have this URL structure on a Drupal 8 site:
/schools/usa -> handled by custom view /schools/europe -> handled by custom view /schools/school-name -> handled as a normal node
So basically when the users makes a request for a URL like /schools/%, Drupal first checks if it finds a node with that alias and, if it doesn't exist, passes on to the view (or vice-versa, view first and then node if the view argument doesn't validate).
Is this achievable?
If I try, the view gets the precedence and throws a 404 on /schools/school-name as "school-name" fails to validate as a taxonomy term (it's a node title after all...)