Plugin Author
Ajay
(@ajay)
The CDN shouldn’t in theory cache the plugin. Does it work without the CDN?
What’s your site URL?
Hi,
the url is http://www.afrikmag.com. Our top post normally has about 5,000-10,000 page views
Now it is listed as 23
Yes it worked perfectly before the CDN
Plugin Author
Ajay
(@ajay)
I looked at your tracker code and I notice that it is being loaded from “images.afrikmag.com” and not from afrikmag.com which is what I’d expect. It seems like whatever script you are using for the CDN is moving the javascript out there.
You should find a way to whitelist: /top-10/includes/top-10-addcount.js.php
hi
I was sent this by the person who setup the CDN
Here i was checking some others of the same plugin files, and look at the php errors i get:
View post on imgur.com
View post on imgur.com
and the list goes on. So the problem here is that there are some issues with many of top-10 plugin files, which caused the cron job not to work properly.
Any ideas please?
Plugin Author
Ajay
(@ajay)
That’s because you shouldn’t be loading those files directly. They only work in the WordPress environment.
As I mentioned, you’ll need to find a way to not let the CDN cache the plugin file as above.
You can also toggle the options : Use ajax for tracking and/or Use external JS file for tracking