K
K
Konstantin2017-07-30 07:52:56
Yii
Konstantin, 2017-07-30 07:52:56

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

1 answer(s)
S
Shamsudin Serderov, 2017-07-30
@Steein

https://stackoverflow.com/questions/33717332/pagin...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question