How to make correct ajax loading of products with the filter?

Trying to do ajax uploading of products with the filter. Here is the problem. Made a little script to test and when it is performed, there is such a thing. Send a request:

Request URL: localhost:3000/index.php?route=product/category&pa...
Request Method: GET
Status Code: 301 Moved Permanently (from disk cache)

And in the end it is redirecting to localhost:3000/stoly?page=2 and it will overwrite all the parameters passed to except page. Tell me, is it possible to overcome and how?
March 12th 20 at 07:59
1 answer
March 12th 20 at 08:01
Below the filter options is not lost, you can try to store them on the client in js object like this:
var productFilter = {
route: 'product/category',
path: 59,

And about the answer, look in the server settings.

Find more questions by tags OpenCartAJAX