Title: No Data
Last modified: April 8, 2019

---

# No Data

 *  Resolved [keishabien](https://wordpress.org/support/users/keishabien/)
 * (@keishabien)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/)
 * Hi, I am able to get this working on my local dev site, but it doesn’t log any
   views on the live site (linked) – but there is not data in the plugin graph itself.
 * Checked through the FAQ document, and:
    – I’ve clicked on all the posts many 
   times and still no data is logged in the graph – No comments are allowed but 
   the time range is set to default – wp_head is present – No caching app present–
   No security/firewall that I know of – WPP databases are present
 * Here’s my debug tab info:
    PHP version: 7.0.33-5+ubuntu14.04.1+deb.sury.org+1
 * PHP extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection,
   SPL, session, standard, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl,
   dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqli, pdo_mysql,
   Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, 
   tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
 * Database version: 5.5.47-0ubuntu0.14.04.1-log
 * InnoDB availability: DEFAULT
 * WordPress version: 4.8.9
 * Multisite: No
 * External object cache: No
 * WPP_CACHE_VIEWS: No
 * Active plugins: Advanced Custom Fields 4.4.11, Akismet Anti-Spam 3.3.2, All-in-
   One WP Migration 6.75, Contact Form 7 4.8, Contact Form 7 Modules: Hidden Fields
   2.0.2, Contact Form 7 Modules: Send All Fields 2.0.2, Contact Form DB 2.9.11,
   Custom Permalinks 1.0.2, Duplicate Post 3.2, Duplicator 1.2.48, Insert Headers
   and Footers 1.4.2, Photo Gallery 1.3.30, Search Exclude 1.2.2, UpdraftPlus – 
   Backup/Restore 1.13.4, WordPress Popular Posts 4.2.2, WP Crontrol 1.5, WP Google
   Search 1.0.7, Yoast SEO 4.9
 * Theme: Midwest Dental Jobs (1.0) by
 * Let me know if you can assist. This has been the best plugin I tried for this
   functionality and I can’t figure out why it won’t work live. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fno-data-17%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11405691)
 * Hi [@keishabien](https://wordpress.org/support/users/keishabien/),
 * [Data Sampling](https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#data-sampling)
   is active and using the default [Sample Rate](https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#what-is-sample-rate-for)
   of 100, which is recommended for high traffic sites only.
 * If this is a new site chances are it doesn’t have that many visitors yet so it
   might be a good idea to either use a lower sample rate value or to disable Data
   Sampling completely.
    -  This reply was modified 7 years, 3 months ago by [Hector Cabrera](https://wordpress.org/support/users/hcabrera/).
      Reason: Removed markdown syntax, that doesn't work here
 *  Thread Starter [keishabien](https://wordpress.org/support/users/keishabien/)
 * (@keishabien)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11406004)
 * Hey [@hcabrera](https://wordpress.org/support/users/hcabrera/), thanks for the
   reply!
    I disabled it for now – this site has a lot of traffic but the blog part
   does not yet. This is a part of an effort to bring in more visitors.
 * How soon could I expect to see results if data sampling is disabled? I did a 
   few clicks on the posts we want to show up but it still didn’t register in the
   graph.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11406009)
 * There’s a redirection issue with your site. Whenever WPP sends a POST request
   to the REST API, your server replies with a 301 Moved Permanently response:
 * ![REST API 301 Moved Permanently response](https://i0.wp.com/oi66.tinypic.com/
   kbdn5d.jpg)
 * You’ll need to have a look into that.
 *  Thread Starter [keishabien](https://wordpress.org/support/users/keishabien/)
 * (@keishabien)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11406013)
 * Oh okay! Thanks for seeing that. I will have to look into that deeper tomorrow
   when I’m at work and have all the files.
 *  Thread Starter [keishabien](https://wordpress.org/support/users/keishabien/)
 * (@keishabien)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11408497)
 * Awesome, I found the bug on my end of things. A general redirect was created 
   for some specific content (by a previous dev):
 *     ```
       RewriteCond %{HTTP_HOST} ^.*$
       RewriteRule /(.*)/(.*)/$ ?job=$1&category=$2 [R=301,L]
       ```
   
 * So I made it more specific and it corrected the issue. The data is generating
   on the front end of things, and I’m seeing the clicks in the UI on the dashboard
   🙂
 * Thanks for your assistance! Love the plugin.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11408580)
 * Awesome, thanks for reporting back! And I’m glad you like the plugin, thanks 
   for your kind words 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘No Data’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [sampling](https://wordpress.org/support/topic-tag/sampling/)

 * 6 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/no-data-17/#post-11408580)
 * Status: resolved