Ajax Views

Posted in: Newspaper
Post count: 33

Our web host, WP Engine, reported the below…is tasking our server…can yo advised how to kill these??

dave

That first action, td_ajax_update_views, occurred over 200 in just that short period of time. I then looked through the install’s file system on your behalf for any references to that action. It looks to be associated with your theme:

wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php
150:add_action(‘wp_ajax_nopriv_td_ajax_update_views’, array(‘td_ajax’, ‘on_ajax_update_views’));
151:add_action(‘wp_ajax_td_ajax_update_views’, array(‘td_ajax’, ‘on_ajax_update_views’));

wp-content/themes/Newspaper/mobile/js/tagdiv_theme.js
1563: pageTypeAction = ‘td_ajax_update_views’;

wp-content/themes/Newspaper/js/tagdiv_theme.js
7104: pageTypeAction = ‘td_ajax_update_views’;

Post count: 33

Adding following up to replies.

Post count: 9544

Disable ‘use ajax views’ from the theme panel ?

Post count: 6535

Hi


@goforward
ajax post view counter update page views when is enabled and a cache plugin is used. You can deactivate it from theme panel > post settings but the theme won’t count post’s views if you’re using cache: http://screencast.com/t/NdEKOddFp

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.