do not redirect when the route includes a specific page - fixes #566