• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » WordPress W3TC Plugin : Fix CDN Not Working Issue

By Abhishek Ghosh March 13, 2016 8:07 am Updated on March 13, 2016

WordPress W3TC Plugin : Fix CDN Not Working Issue

Advertisement

It is quite common to change CDN from Akamai or Rackspace Cloud Files to others like KeyCDN. W3 Total Cache Plugin Possibly Gives Trouble With Updating New CDN URL.Here is How to Fix CDN Not Working Issue With WordPress W3TC Plugin. Problems which users complained so far are :

  1. W3TC and self hosted CDN not changing to new CDN’s URL and continuing to link to old URL of CDN
  2. W3TC and self hosted CDN not working with Retina.js
  3. W3TC and self hosted CDN breaking CSS

 

WordPress W3TC Plugin : Debugging Before Applying Fix For CDN Not Working Issue

 

Debugging needed more for checking for any gross issue, mainly for security.

We are using WordPress top of Deb GNU/Linux like Debian, Ubuntu with Nginx PHP5-FPM and Percona MySQL. This was the guide which basically suggested to use by WordPress dot ORG.WordPress W3TC Plugin is powerful and quite bulky plugin. Try unchecking all the settings for auto prime cache and increase the garbage collection intervals. Also manually deleting the content from cron entry in the wp_options table which will force WordPress rebuild it. WP Control is a plugin which will give an idea about what is happening with cron.You need to do SSH to the server after disabling WordPress W3TC Plugin’s database cache. First, make sure that your MySQL database is not corrupted, if you have doubt about MySQL database then read this guide to repair database. Also you can fully separate the database in this way and work in kind of dev mode.

Advertisement

---

Second, try recursive deletion of the domain named directory at wp-content/cache/page_enhanced. There may be ownership, permission related matters.

Third, fixing wp-cron.php?doing_wp_cron is important. WP-CRON is known to fail for a variety of reasons, including but not limited to conflict of plugins, DNS-related issues, WordPress bugs, Use of caching plugins. WP-CRON has dedicated page on WordPress dot ORG. Our rule of thumb is :

  1. Set a real Cron (shown in above linked guide)
  2. Disable WP-CRON via wp-config.php when you are not working on website
  3. Comment out to enable WP-CRON via wp-config.php when you are working on website
  4. Again, enable WP-CRON via wp-config.php when you are going off from your website

Odd, not much logical but the above method solves many unforeseen problems. Basically keeping WP-CRON active when you do not have the shell in front of your nose, is risky. Nginx PHP5-FPM may return errors. That is why this “BISEXUAL” way. Also, check the PHP-FPM log for error.

 

WordPress W3TC Plugin : Applying Fix For CDN Not Working Issue

 

If no fault found, yet W3TC Plugin not working rightly for CDN, do not use W3TC Plugin’s CDN function at all. Disable it. Download CDN Linker Plugin by W-Mark Kubacki from GitHub. Use Origin Pull CDN and work. After activating, setting rightly do a recursive deletion of the domain named directory at wp-content/cache/page_enhanced. Check via webpagetest.

WordPress W3TC Plugin - Fix CDN Not Working Issue

This Article Has Been Shared 919 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to WordPress W3TC Plugin : Fix CDN Not Working Issue

  • Showing Open Graph Protocol og image, og description Properly

    Showing Open Graph Protocol og image, og description properly can be a challenge – either proper post specific og image is not shown or description is chopped.

  • Podcast and WordPress : Tips

    Podcast and WordPress can make the older posts more lively again. A small introduction Podcast can increase the conversion. Here is a detailed guide.

  • Post Specific Widget with Semantic Markup for WordPress

    Post specific widget with Semantic Markup for WordPress is a kind of template Plugin for more flexibility. You can create infobox like Wikipedia.

  • W3 Total Cache Pro and WordPress Page Loading Speed

    W3 Total Cache Pro has recently been introduced by W3TC Plugin developer and here is some questions frequently asked by the WordPress users as suggestion.

  • Bare WordPress Plugins With Admin Page For Your Dev Works

    These Bare WordPress Plugins With Admin Page, Without Admin Page Are For Your Developmental Works. Add PHP Snippet & They Will Become Yours.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022
  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022
  • A Beginner Guide to Cloud Computing for Development June 22, 2022

About This Article

Cite this article as: Abhishek Ghosh, "WordPress W3TC Plugin : Fix CDN Not Working Issue," in The Customize Windows, March 13, 2016, July 1, 2022, https://thecustomizewindows.com/2016/03/wordpress-w3tc-plugin-fix-cdn-not-working-issue/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy