Can you share the Route definition?
Some routes not working
Hi, I am having an issue with my routes. It is the same route but not working with some of the different data that also exists for example a subcategory page
https://lavender.com.pk/shop/category/sub-category/4/lifestyle
This page is working fine but this same route is not working
https://lavender.com.pk/shop/category/sub-category/28/baking
Although a subcategory with an id of 28 exists as well as its name in baking also.
I am unable to understand programmatically why this is not working. Recently I added a sitemap to the site, seems to have the issue started then. These same names that are not working are also not present in the sitemap. I tried adding them manually but the route still didn't work. The site is live and the links are also working if you want to see them.
Are you actually getting to the Controller action (whenever you visit the /shop/category/sub-category/28/baking URI; are you getting a 404 resulting from the findOrFail method?
Please or to participate in this conversation.