aksamford
Member
Posted 4 months ago #
On my site (www.amandasamford.com), I use the static front page and the page "blog" for posts (www.amandasamford.com/blog/. When I click "next page" on the blog page, it hits my 404 message. This doesn't happen when I don't use the static front page.
Can anyone help me fix this? I'm sure it's something easy but I'm not hitting the proper search terms to find a fix.
I've tried checking my tags and categories to see if there was something with the same slug and no luck.
I would try resetting the permalinks. Perhaps something funky is going on there...
The code that I use for my page navigation is as follows:
<div class="post-navigation">
<div class="navigation-previous"><?php next_posts_link('« Older Posts') ?></div>
<div class="navigation-next"><?php previous_posts_link('Newer Posts »') ?></div>
</div>
Perhaps your code isn't quite right and the above would work?
aksamford
Member
Posted 4 months ago #
I tried replacing the existing code with yours and that didn't work. I'm not sure how I would reset a permalink? Either link directs me to http://www.amandasamford.com/blog/page/2/ which is where the 404 appears.
In the settings > pemarlinks just hit save again. It could be that the htaccess file needs to be reset.
You can also try changing the permalinks to default and see what happens.
aksamford
Member
Posted 4 months ago #
Just tried to reset the permalinks via settings < permalinks and now the blog shows the static page twice?
aksamford
Member
Posted 4 months ago #
Aha! I had reset the links to default (then saw your add'tl reply) and set them back to the previous setting, which worked.
Thank you so much!