Auto Load Next Post Documentation
If you are facing an issue with Auto Load Next Post then this guide may help you understand why and how it can be fixed.
Here are just a few that is most likley because of a permalink issue. Either Auto Load Next Post did not register the custom endpoint it requires or your permalink structure is not friendly.
Loads the whole page and not just the content
This problem is caused due to the permalink structure that you have. Here are a few permalink structures that do not work for Auto Load Next Post:
- Have the author before the post slug:
- Have the post category before the post slug:
These structures cause the custom endpoint for Auto Load Next Post to redirect to the original permalink for the post while Ajax is loading the content. So in the end you are importing the whole page and not the content from the custom repeater template that is suppose to load via Ajax requests.
It's important that you have a clean friendly permalink structure so Auto Load Next Post can work it's magic.
The default permalink structures work best with Auto Load Next Post.
- Day and name:
- Month and name:
- Post name:
Getting an error 404 when Ajax makes a request
Most likley this is caused because you previously had an older version and have now updated to the latest version. This is easly fixed. See the upgrade guide for more.
Auto Load Next Post endpoint did not register
Simply go to the permalink settings page in your WordPress dashboard and press the save button to refresh. That will flush all the rewrite endpoints and register Auto Load Next Post endpoint.
Not loading when using a Cache or Minification plugin?
If this is happening then you need to exclude Auto Load Next Post from being cache, JS combined or minified with the Cache or Minification plugin you are using on your WordPress website.
If you are able to do so then you need to exclude the following files:
If you have any issues with this guide, or the documentation that is linked throughout, please open a new issue in this repository for it to be reviewed. Thank you!