404 on ajax request
-
I’ve been trying to get this working in a dev environment, after updating the plugin from an old version, which had been working.
The plugin seems to be working up to a point, but when it makes the ajax request to access the next post, the post’s URL, in the request, has “alnp/” appended to it.
So, this returns a 404. The plugin is appending the hr element with the correct URL, and trying to load the content for the next post, but it’s not able to because the URL in the http request is wrong.
For instance, if the next post’s URL is https://site.com/news/article-2/, the data-url attribute of the hr will be correct, but the ajax request URL is https://site.com/news/article-2/alnp/
Any insight would be greatly appreciated
- The topic ‘404 on ajax request’ is closed to new replies.