For example, let’s say i have url like this one:
/template_group/template_name/parent_category/subcategory/other-parent-category/subcategory/
The reason why i have a other-parent-category is because i have 2 template groups and i am merging the url together. I have this part working but i have to use the segment_# to get the current category.
So i have these long urls and i am relying heavily on segment_# variables which i would like to have something more exact. I know the minute i make my website like segment_1 is going to change.
What i am wondering is if there is plugin that will scan the current url and see if there is something in the url that is a category.