• 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
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

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

  • Fix WordPress 4.7 Upgrade Failed : Nginx+PHP7+HTTPS+Genesis+W3TC

    Auto Update Likely to Break Website.Our Step by Step Guide To Fix WordPress 4.7 Upgrade Failed With Nginx, HTTPS, Genesis, W3 Total Cache.

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 (24.3K 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

  • Affordable Earphone/IEM for Audiophiles: HiFiMan RE-400 WaterlineOctober 2, 2023
  • What is Hardware Security Module (HSM)September 30, 2023
  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
  • Comparison of Tube Amplifiers and SemiconductorsSeptember 26, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

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

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