For some reason, to work properly my web site needs the following slug
/category/%category%/%post-title%
However, I don't know why, the next/prev link functions ignore my permalink settings, thus resulting in the link to be returned as /page/2 ... /page/3 and so on. As a result of this, I get a lot of 404 error.
It looks like wp_pagenavi use the same hooks used by the next/prev page link functions, therefore I continue to get the same kinda of problems.
Is there a way for the author to make an enhancement and provide an extra param with which supplying the URL?