Answer the question
In order to leave comments, you need to log in
How to disable the function in Yii2 in Pagination so that it does not encode slashes in the URL?
The point is this. The category has its own slug, let's say /item1/item2/item3 as a link to the category and the actual URL is shop.ru/category/item1/item2/item3.
Pagination replaces subsequent slashes with %2f and goes like this shop.ru/category/item1%2Fitem2?page=2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question