Hey @ktsiterip & @stewartmar,
I tried setting up Cloudflare on my site but I’m not sure I did it correctly.
Did you guys install Cloudflare’s WordPress plugin to set it up on your site? If not, mind sharing step-by-step instructions so I can get a similar set up as yours?
Thanks in advance for your help!
Hi @hcabrera
I use Siteground as my host and they provide a simple one-click set-up – so I’m afraid I don’t know how to set it up without that.
All the best, Stewart
Hi Hector
No plugin required – I think all you do is set up the account and then point nameservers to Cloudflare
If you have a spare domain name, I’m happy to host it and set up a dummy WP site on my siteground account so you can experimet with it there
@ktsiterip no, unfortunately I don’t have a spare domain. I’ll try setting up Cloudflare again today.
I’ll keep you guys posted!
Hey @ktsiterip & @stewartmar,
I was able to replicate the issue on the development version of my site. I think I managed to fix it because the widget is working properly even with CF’s Rocker Loader enabled but I need your help to confirm that the fix works with your setup as well, so please:
- Go to WordPress Popular Posts’ GitHub repo and select the
cf-rocket-loader-fix
using the Branch
button (located right next to New pull request).
- Click on the Clone or download button and then on Download ZIP.
- Extract the
wordpress-popular-posts-cf-rocket-loader-fix
folder from the .zip file and rename it as wordpress-popular-posts
.
- Go to Dashboard > Plugins and disable the WordPress Popular Posts plugin (do not delete it or else you’ll lose your popular posts data!)
- After disabling the plugin, connect to your server (via FTP or via cPanel), replace the
wp-content/plugins/wordpress-popular-posts
folder with the one from the GitHub repo.
- Go back to Dashboard > Plugins and reactivate the WordPress Popular Posts plugin.
- If you have a caching plugin, purge its cache now.
- Go to your Cloudflare’s Dashboard > Caching and click on the Purge Everything button under Purge Cache.
- Wait around 30 seconds -as per Cloudflare’s instructions- and then visit your site again. If everything went OK the widget should load now.
Give that a shot and report back your results, alright?
Hi Hector
You are a genius – that seems to work great!
Fantastic work – thank you!
That’s great news! Thanks for confirming, @ktsiterip 🙂
I’m marking this as resolved then. I’ll push a new update as soon as possible.
Awesome!
Well done for your amazing work!