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

  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023
  • The Importance of a Camera Tracking System in Virtual Production March 15, 2023
  • Understanding the Key Differences between Docker and OpenVZ March 14, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT