[Resolved] Static Front Page and Previous Entries link
This must have something to do with next_posts_link but I don’t how or where to fix it.
So, a custom permalink of /news-and-events/%postname%/ does not work but the custom permalink of /%year%/%monthnum%/%day%/%postname%/ does work.
The Post Page is on /news-and-events.
If I change the permalink to anything but /news-and-events/ then it goes to the correct page
Example: permalink structure is /news-and-events/%postname%
click on next_posts_link and you get a 404 error. everything else workas it should
Change the permalink structure is /news-and-event/%postname% (remove the ‘s’ on events)
click on next_posts_link and it goes to /news-and-events/page/2/ just fine but all of the post links look like /news-and-event/post-name
Could it be something in the rewrite.php file?
I believe I am having the same problem. I upgraded from 2.3.x and everything was fine (at least to my knowledge). I use /blog/%postname%/ permalink structure. Everything seems to work except “next_posts_link” and “previous_posts_link”
Any ideas around this would be great.
Yep, also having problems on 2.7.
In the end I removed /blog/ from my permalink structure – my blog front page still sits on mysite.com/blog/, but my posts are at mysite.com/category/postname/
works fine now.. would be nice to have the option to put posts in the /blog/ dir though.
- The topic ‘[Resolved] Static Front Page and Previous Entries link’ is closed to new replies.