Support the ongoing development of →
posted 7 years ago
Last updated 7 months ago.

What exactly isn't working? I'm guessing you don't have a category with the correct 'sef'.

If this is your route: 'maincat/cat2/cat3/item', then it'll assume $cat4 is item so do you have a category where 'sef' is equal to 'item'?

Last updated 7 years ago.

yeah laravel wouldnt know how to differentitate category/item you give in url e.g or

to laravel they look the same.. so you probably need to change the way you are serving either by adding another hardcoded stuff so like: << item is hardcoded.. which you can then use routing

but to be honest when you are showing ITEMS you shouldnt have something like

just do

and then on the items you can have a breadcrumb showing you how the item is located on yoru site..


Sign in to participate in this thread!


Your banner here too?

schel4ok schel4ok Joined 15 Feb 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.