Prevent WordPress to remove query vars from url
SOLUTION My solution was change to use http://website.com/page-name/page/1/ and http://website.com/page-name/page/2/. And when I get query_var, I decrease it and check if it is less than zero, I return it to zero. I had to use this solution because when I pass /page/1/ or when I do not pass anything, my paged returns me a zero … Read more