• Hello,

    I really love infinite scroll plugin but I noticed one problem with it and wanted to find out if there is something that can be done.

    Example:
    I have 2 pages of posts and I’m using infinite scroll, when I scroll down to where posts from page 2 should be “page/2/” appears at the end of the URL.

    When I click on post from page 2 in order to read it and then press browsers back button, only posts from page 2 are now visible, since page 2 is last page no new posts are loaded and when I scroll up no previous posts get loaded as well (I guess Infinite scroll doesn’t load previous pages?).

    If I press back button once again I’m at home page (without “page/2/” at the end of URL), but instead of posts from 1st page I still see posts form page 2. So I’m basically stuck in page 2. To get things working normally again I must refresh webpage.

    Only thing I can do at this point is to press home button and start all over.

    http://wordpress.org/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    If I press back button once again I’m at home page (without “page/2/” at the end of URL), but instead of posts from 1st page I still see posts form page 2. So I’m basically stuck in page 2. To get things working normally again I must refresh webpage.

    Only thing I can do at this point is to press home button and start all over.

    Nice catch! I took note of the bug here, and we’ll work on getting this fixed. Thanks for the report!

    Thread Starter viltnieks

    (@viltnieks)

    Thank you for responding!

    There is one thing I would like to add:

    Once you press back the second time “page/2/” parameter actually disappears from the end of the URL, but you can only see posts from “page/2/”, previous posts aren’t visible and you’re basically stuck on page 2.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Infinite Scroll problems with back button’ is closed to new replies.