Skip to main content
8 events
when toggle format what by license comment
Apr 13, 2017 at 12:37 history edited CommunityBot
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Sep 29, 2015 at 18:19 comment added ronnyrr Allright then, I've marked your answer as solved. Although I think your answer didn't exactly solved my question. It made my code "more correct". But before I've changed my code my next_posts also redirected to mvo-nieuws/page/2/, so it did using your code. Thanks anyway for al the help! ;)
Sep 29, 2015 at 18:16 vote accept ronnyrr
Sep 29, 2015 at 4:55 comment added Pieter Goosen You should accept my answer as my code solved your issue. As you have already stated, the issue with your permalinks should be a new question and does not have anything to do with this issue.;-)
Sep 28, 2015 at 20:55 comment added ronnyrr Because I've thought this tread might get out of the first post' context I've created a new topic: wordpress.stackexchange.com/questions/203976/…
Sep 28, 2015 at 20:42 comment added ronnyrr I've found out that changing my permalink structure works. After changing /%category%/%postname%/ to /%category%/ I'll can use pagination, but I can't access single posts. Any idea why this might cause problems?
Sep 28, 2015 at 20:22 comment added ronnyrr Thanks for you clear explanation about using the pre_get_posts. I wasn't aware of this hook and it's working. I've implemented the code in my website, but unfortunately it still isn't working. The next_posts_links still redirects to mvo-nieuws/page/2/ and than shows a blank page. You can find a live example here: www.mvodatabase.nl/mvo-nieuws. Maybe that can help figuring out this weird problem.. EDIT: in my main post I've uploaded my latest code via the image.
Sep 25, 2015 at 6:17 history answered Pieter Goosen CC BY-SA 3.0