Add category to curent category filter – link

I want to place a link to a category (cat2) on the page MySite.com/category/cat1/ that takes you to MySite.com/category/cat1+cat2/

But if you already are on MySite.com/category/cat3+cat1/ I want it to take you to MySite.com/category/cat3+cat1+cat2/

How can I create a link that adds “+cat2” to the end of a url, after removing the closing ‘/’? If I make a link like this: Category 2 then it takes you to MySite.com/category/cat1/+cat2/, but because of the extra ‘/’ it doesn’t work…

Is there any workaround? How do you enable your website users to stack categories or tags?

Read more here:: Add category to curent category filter – link

Leave a Reply

Your email address will not be published. Required fields are marked *