Therefore you must declare all other routes before the general "catch-all" route at the end. So, you can easily differentiate the routes or declare the dynamic route with slug parameter and add a where constraint in your route declaration if you have some