I'm wondering Like, Is there any way to remove Pagination Page ID from URL?

Like, I moved to the second page or any other page during listing page.

SO URL will be changed as default behavior of Magento as


How to remove p=2?

Every Suggestions appreciated.


I'm using custom module to load products on category page via Ajax.


Thanks in Advance.


1 Answer 1


I would say it would be pain in the ... But one idea came to my mind is it could be done by using ajax. When customer click the link to navigate the next page. Save the number of page in somewhere for example local storage, after that we can fetch data via ajax. Then if we get the correct response, inject that to product list, remove that page in URl, finally updates page number in local storage. I think by doing that you can have the nice url as you wish. But there is quite a lot of work to archive that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.