Custom query and 404 error on page 2 (didnt forget paged)
-
[Code moderated as per the Forum Rules. Please use the pastebin]
Of some reason we want to fetch posts from both category and tags, where both equals something. As far as I know this can’t be done with normal custom queries, therefor this special thing.
It works perfect on first page. Next buttons show up as they should etc. However, when entering https://url/something/page/2/ it goes nuts, and returns true on is_404();
It doesn’t matter if i try to kill it to debug inside my code.I have tried plugins to fix it (removing /page/), but that doesn’t help. Anyone got any ideas?
If it matters, it is multisite installation.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom query and 404 error on page 2 (didnt forget paged)’ is closed to new replies.