Jump to content

Empty Blog When Returning From Older Posts

Recommended Posts

Hello, I have encountered a problem with blog navigation.
The blog has older posts and newer posts links - to view older and newer posts which aren't displayed on the current page.
They work great, except when you go two pages into the oldest blogs (on my site it is as far as you can get date-wise) and then try to use the "newer posts" links to return to the first blog listing page - It now appears empty. Also the url is weird it keeps trying to offset, instead of returning to the original url.

https://www.polivantage.com/developmentlog

Try navigating to the oldest posts and then back to the newest, you will see the page with no blog list at all.

I would really like to know why this is happening and if there is a fix for this, apart from using JS to manually reset the link of the "newer posts" to navigate to the right url. I would like to avoid this because as I add more blog posts, the offset and the link will change.
Thanks in advance,
L.

EDIT:
I now see that when I am at the last blog list page, it doesn't return me to the previous page, but to the first one, and still keeps the link to go further to newer posts which are of course none. This results in an empty page. Why does it skip a page when going to newer posts?

Edited by DesignerLeo
narrowed down the problem
Link to comment
18 hours ago, DesignerLeo said:

Hello, I have encountered a problem with blog navigation.
The blog has older posts and newer posts links - to view older and newer posts which aren't displayed on the current page.
They work great, except when you go two pages into the oldest blogs (on my site it is as far as you can get date-wise) and then try to use the "newer posts" links to return to the first blog listing page - It now appears empty. Also the url is weird it keeps trying to offset, instead of returning to the original url.

https://www.polivantage.com/developmentlog

Try navigating to the oldest posts and then back to the newest, you will see the page with no blog list at all.

I would really like to know why this is happening and if there is a fix for this, apart from using JS to manually reset the link of the "newer posts" to navigate to the right url. I would like to avoid this because as I add more blog posts, the offset and the link will change.
Thanks in advance,
L.

EDIT:
I now see that when I am at the last blog list page, it doesn't return me to the previous page, but to the first one, and still keeps the link to go further to newer posts which are of course none. This results in an empty page. Why does it skip a page when going to newer posts?

Can you take a screenshot/video for this issue so we can get it? 

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
Posted (edited)

Thank you for looking into this with me! The problem isn't solved, however I have opted for a different approach and no longer am bothered by it. Here are some screenshots, because I still think it has to be addressed.

image.thumb.png.fe91578e8b2a3d26a35447d231952d73.pngThis is the first page in my blog! if I click newer posts, this happens:
image.thumb.png.77b95fed0f433ab86c00cedc2a98934a.pngThat is because it was already page 1 and there are no newer posts. Yet the link is there.

Also, If I navigate to older posts like so:
image.thumb.png.93d1b5ca89364b22dba34f9653a6b1a1.png

And then click newer posts, it returns me to the first page, instead of taking me back step by step:
image.thumb.png.0c9b763fcaeb15fd6c1d4fcfe9093f1b.png
As I said I no longer have need for solving this issue, but it still is weird, I hope it can be resolved
somehow.

Edited by DesignerLeo
I appreciate your input :)
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.