WordPress CDN Integration with W3 Total Cache

W3 Total Cache is a popular WordPress plugin with the purpose to help improve site performance. W3 offers many features such as WordPress CDN integration, browser caching, database object caching, minification, and so on. Along with all of the other performance features, using the W3 Total Cache CDN option will further improve the performance of your WordPress site and help reduce latency.

This article shows you how to integrate our CDN into WordPress with the W3 Total Cache plugin. Are you using WP Super Cache? Please read this knowledge base article: Integration with WP Super Cache

  1. It is recommended to backup your WordPress site and database.
  2. Installation of the W3 Total Cache plugin (there are two options to accomplish this).
    • Download the W3 Total Cache plugin
    • Login to your WordPress administration dashboard
    • Browse to Plugins and click on “Add New”
    • Click on the Upload link below the title “Install Plugins”
    • Click on the “Choose File” button and browse to the W3 Total Cache plugin you have downloaded
    • Click on the “Install Now” button in order to install the extension
    • Click on “Activate” to enable the plugin

    OR

    • Log into your WordPress administration dashboard
    • Click on the Search link below the title “Install Plugin”
    • Enter W3 Total Cache in the input and click on “Search Plugins”
    • Press the “Select Install” now
    • Click on Activate to enable the plugin
  3. Browse to Performance tab (side menu) and click on “General Settings”.
  4. Scroll down to the CDN section.
  5. Check Enable and select Generic Mirror from “CDN Type” drop down.
  6. Click on “Save all settings”.
    KeyCDN W3 Total Cache Settings
  7. In the side menu under Performance or in the horizontal menu at top of the page click on CDN.
  8. Scroll down to the Configuration section and enter your Zone URL (e.g. lorem-1af.kxcdn.com) or CNAME in the input field. If you’re not using a CNAME you can retrieve the Zone URL by logging into the KeyCDN dashboard in the Zone section.
  9. Click “Save all settings”.
    KeyCDN W3 Total Cache Settings
  10. (Optionally) Go back to “General Settings”. Click on the Deploy button followed by the “Save all settings”.

If by clicking on Deploy you are forwarded to a page showing: “WordPress Failure Notice: Are you sure you want to do this? Please try again.” Click on Please try again. You should now see a yellow header at the top. Click on the Deploy button.

To verify that the plugin is properly implemented view the page source of your website. If your URL paths are showing the CNAME or Zone URL then you have successfully integrated the CDN into your website.

 w3-total-cache-html-code

Alternative WordPress Caching and CDN Plugins

The following WordPress plugins are actively maintained and supported by KeyCDN. We recommend to use those plugins to make your WordPress site faster: