autoloadnextpost / auto-load-next-post

Increase the pageviews on your WordPress site and reduce bounce rates as readers continue reading your posts infinitely scrolling down the page.
https://autoloadnextpost.com
Other
61 stars 18 forks source link

plugin appending /alnp to end of all jqueried urls. #142

Closed marshalloram closed 6 years ago

marshalloram commented 6 years ago

Prerequisites

Steps to reproduce the issue

  1. On post single it doesn't load the next post. The XHR request is to a url that doesn't exist. The plugin is appending /alnp to the end of queried urls making them not work.

Expected/actual behavior

It was working previously. Yesterday I updated the DB content and uploads folder and now it is not working as described above.

Isolating the problem

WordPress Environment

``` ### Begin Simple System Status ### -- WordPress Environment Home URL: https://dev-blog.luckyvitamin.com Site URL: https://dev-blog.luckyvitamin.com WP Version: 4.9.8 WP_DEBUG: Enabled WP Language: en_US Multisite: No WP Memory Limit: 40MB WP Memory Limit Status: Not OK - Recommended Memory Limit is 64MB WP Table Prefix: wp_ WP Table Prefix Length: 3 WP Table Prefix Status: Acceptable WP Timezone: , GMT: -4 WP Remote Post: wp_remote_post() works Permalink Structure: /%category%/%postname%/ Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed Show On Front: posts ## Theme Information ## Theme Name: Lucky Happy Wellness Life Theme Version: 1.0.0 Theme Author: Marshall Oram Theme Author URI: http://millerdesignworks.com Is Child Theme: No ## Plugins Information ## -- Must-Use Plugins : -- WordPress Active Plugins Auto Load Next Post: 1.5.3 Sébastien Dumont https://autoloadnextpost.com Classic Editor: 0.4 WordPress Contributors https://wordpress.org Contextual Related Posts: 2.4.1 WebberZone https://webberzone.com/plugins/contextual-related-posts/ Disqus for WordPress: 3.0.16 Disqus https://disqus.com/ Featured Video Plus: 2.3.3 Alexander Höreth http://yrnxt.com/wordpress/featured-video-plus/ Google Analyticator: 6.5.4 SumoMe http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt Google Authenticator: 0.48 Henrik Schack http://henrik.schack.dk/google-authenticator-for-wordpress Google XML Sitemaps: 4.0.9 Arne Brachhold http://www.arnebrachhold.de/redir/sitemap-home/ Happy Wellness Life Migration Scripts: 1.0.0 Marshall Oram luckyvitamin.com Live Comment Preview: 2.0.3 Brad Touesnard http://wordpress.org/extend/plugins/live-comment-preview/ Lucky Vitamin Comments Link Display: 1.0 Joel Jimenez http://www.luckyvitamin.com/ Lucky Vitamin Content Types: 1.0 Marshall Oram, Miller Designworks https://luckyvitamin.com/ Lucky Vitamin Custom Title: 1.0 Joel Jimenez http://www.luckyvitamin.com/ Lucky Vitamin Featured Products: 2.0 Marshall Oram, Miller Designworks http://www.luckyvitamin.com/ Lucky Vitamin Post Content: 1.0 Joel Jimenez http://www.luckyvitamin.com/ Lucky Vitamin Product Parser: 1.0 Alex Ryzhenkov http://www.luckyvitamin.com/ Lucky Vitamin Related Products: 1.0 Joel Jimenez http://www.luckyvitamin.com/ Pin It Button for Pinterest: 1.0 Pinterest http://about.pinterest.com/goodies/ Regenerate Thumbnails: 3.0.2 Alex Mills (Viper007Bond) https://alex.blog/wordpress-plugins/regenerate-thumbnails/ Simple System Status: 1.0.0 Leo Gopal http://leogopal.com/ SimpleTags: 2.0 Broobles http://www.broobles.com/scripts/simpletags/ WordPress Popular Posts: 4.1.2 Hector Cabrera https://wordpress.org/plugins/wordpress-popular-posts/ WP-Polls: 2.73.8 Lester 'GaMerZ' Chan https://lesterchan.net/portfolio/programming/php/ WP Migrate DB: 1.0.4 Delicious Brains https://wordpress.org/plugins/wp-migrate-db/ -- WordPress Inactive Plugins AA Backup Manager: 1.0 Andrei D. - www.aa-team.com http://www.aa-team.com Akismet Anti-Spam: 4.0.8 Automattic https://akismet.com/ ARVE Advanced Responsive Video Embedder: 8.9.7 Nicolas Jonas https://nextgenthemes.com/plugins/arve-pro/ Bulk Delete: 5.6.1 Sudar https://bulkwp.com Dagon Design Form Mailer: 5.3 Dagon Design http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/ del.icio.us - Bookmark this!: 1.2 Arne Brachhold http://www.arnebrachhold.de/2005/06/05/delicious-bookmark-this-wordpress-plugin del.icio.us for Wordpress: 2.0.2 Ricardo González http://rick.jinlabs.com/code/delicious Diet & Nutrition Health Center - Shortcodes plugin: 1.0 AA-Team http://themeforest.net/user/AA-Team/portfolio Google Search for WordPress: 0.2 Weston Ruter http://wordpress.org/extend/plugins/google-search/ Lucky Vitamin Featured Products [Legacy]: 1.0 Joel Jimenez http://www.luckyvitamin.com/ Revolution Slider: 4.6.5 ThemePunch http://www.themepunch.com/revolution/ SEO Smart Links: 3.0.1 Vladimir Prelovac http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links ShareThis: 7.8 The ShareThis Team http://www.sharethis.com Sidebar Widgets: 1.2.1.20070210b Automattic, Inc. http://svn.wp-plugins.org/widgets/trunk Snap Shots™ Plugin: 1.3 Ajay D'Souza http://ajaydsouza.com/wordpress/plugins/snap-preview-anywhere/ Standard XML Sitemap Generator: 1.0 Patrick Chia http://patrick.bloggles.info/ W3 Total Cache: 0.9.7 Frederick Townes https://www.w3-edge.com/wordpress-plugins/w3-total-cache/ WooCommerce: 3.4.5 Automattic https://woocommerce.com/ WordPress Database Backup: 2.3.3 Austin Matzko https://github.com/matzko/wp-db-backup Yoast SEO: 8.2.1 Team Yoast https://yoa.st/1uj ## Server Environment ## Server Info: Apache/2.4.18 (Ubuntu) Host: DBH: localhost, SRV: dev-blog.luckyvitamin.com Default Timezone: UTC MySQL Version: 5.7.22-0ubuntu0.16.04.1 -- PHP Configuration PHP Version: 5.6.36-1+ubuntu16.04.1+deb.sury.org+1 PHP Post Max Size: 250M PHP Time Limit: 900 PHP Max Input Vars: 1000 PHP Safe Mode: No PHP Memory Limit: 512M PHP Upload Max Size: 250M PHP Upload Max Filesize: 250M PHP Arg Separator: & PHP Allow URL File Open: Yes -- PHP Extentions DISPLAY ERRORS: N/A FSOCKOPEN: Your server supports fsockopen. cURL: Your server supports cURL. SOAP Client: Your server does not have the SOAP Client enabled. SUHOSIN: Your server does not have SUHOSIN installed. -- Session Configuration Session: Disabled Session Name: PHPSESSID Cookie Path: / Save Path: /var/lib/php/sessions Use Cookies: On Use Only Cookies: On -- Client Details: Platform: Apple Browser Name: Chrome Browser Version: 69.0.3497.100 User Agent String: Mozilla/5.0 (Macintosh; Intel Ma c OS X 10_14_0) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/69 .0.3497.100 Safari/537.36 Client IP Address: 192.168.116.103 ### End Simple System Status ### ```
seb86 commented 6 years ago

Hi @marshalloram

The XHR request is correct. This is a special endpoint created to load only the content using a repeater template.

It sounds to me if the URL's are returning 404 then you need to refresh your permalinks.

Is this the first time installing Auto Load Next Post or upgrading?