Only consider pathname for routes