serious loss of position when returning from reading a post

  • Author
  • #1447657


    I’ve noticed on my site (hosted at wordpress) that sometimes after reading a post, or clicking on an image, that when you use the back button the site does not return to the correct position in the list of posts. Sometimes the excerpt of the post you are returning from isn’t even on the page any more.
    You can easily replicate this problem – though you may need to have clicked on “older posts” once or twice. Click on a photo and then come back – sooner or later you will come back to a totally different part of the list of posts.
    I might be wrong but I don’t think it’s specific to my current theme as I think it did it on a previous one.
    Thie behaviour strikes me as very irritating for a user who wants to read the posts in order and who would expect to come back to the right place so they can read the next one.
    Does anyone know how to fix this?
    Has anyone else experienced it?

    The blog I need help with is



    Actually it’s even worse. Sometimes after coming back the list of posts will be missing posts for a whole range of dates.
    It’s connected with the fact that javascript is being used to inject the next set of posts. The code seems to get in a mess and lose track of where it is.



    Hi there,
    I’m sorry this is happening to you. I’ll tag this thread for Staff assistance. Please subscribe to the thread so you are notified when they respond and please be patient while waiting.

    Will you please try what follows and post your report back into this thread for Staff?

    1. If you are not running one of the browsers and versions listed at please try upgrading or switching first.

    2. If you are using an IE browser in compatibility mode please disable that mode.

    3. If you are running one of the browsers and versions listed at

    (a) Try clearing your browser’s cache

    If applicable see here for instructions on how to clear the cache for Chrome and Safari on the iPad:

    (b) Make sure that you have both third-party cookies enabled and JavaScript enabled

    (c) Disable all browser extensions or add-ons temporarily.

    (d) Try enabling HTTPS:

    Add both * and * to your list of trusted sites under the Security tab. Make sure to uncheck the box for “Require server verification (https:) for all sites in this zone.”

    4. Try using another browser.

    5. If you are not successful let us know:
    (a) Exactly what kind of device you are using to connect to the internet and to
    (b) Exactly which browser (and version of it) you’re using by checking here if necessary
    (c) And what any error reports you receive state.



    Thanks for that,
    I can confirm that this happens in multiple browsers and on PC, Mac and Android operating systems. Other people have also been able to replicate the issue (so it’s not just me!).
    I can also confirm, having done some tests, that similar errors occur in numerous themes that use infinite scrolling, whether or not it is in manual mode (using the “older posts” button). I think it highly likely that it is related in some way to problems with using javascript to “inject” the next set of posts (especially how this interacts with the page numbers added to the url).
    There are know problems with loss of position when using infinite scroll – perhaps not all of them have been resolved?



    That’s a function of how javascript works, and how browsers retain information to render a page. I’m not sure that there’s really anything we can do about this as things stand right now.



    If you’re saying that the new JavaScript method of getting the next set of posts will always result in loss of position and also missing posts then why have you allowed your hosted themes to use this technique at all?
    It is clearly broken. The old page refresh method works fine.
    There is no option to go back to the old method. This seems very strange.

The topic ‘serious loss of position when returning from reading a post’ is closed to new replies.