Wordpress CDN integration using W3 Total Cache plugin
09 Oct 2013

WordPress CDN integration using W3 Total Cache plugin

WordPress CDN integration using W3 Total Cache plugin

Before you take any steps please back up your files and database

The domain “myproject.com” serves here as an example, replace it with the domain name of your website.

Create a CDN service in the CDNsun client section

    1. Log in or Sign up to CDNsun client section.
    2. On the Services tab choose New Service.
    3. Fill in the domain of your website and choose a domain for your new CDN service as in the picture below.

create_cdn

  1. That’s all.
  2. Now we use the Service Domain in Wodpress W3 Total Cache plugin.

Enable CDN in WordPress W3 Total Cache plugin

      1. Install W3 Total Cache plugin into your WordPress website.
      2. In the side menu find Performance tab and click on the “General Settings”.
      3. Scroll down to the “CDN” section.
      4. Don’t check “Enable” and select ”Generic Mirror” from the “CDN type” drop down menu as in the picture below.

wptc_set_mirror

    1. Now in the side menu find Performance tab and click on the “CDN”.
    2. Scroll down to the “Configuration” section and enter your Service Domain in the input field Replace site’s hostname with: as in the picture below.

wptc_set_cname

    1. Note that you can alternatively use the Service Identifier instead of “Service Domain”. You find “Service Identifier” of your service in the CDNsun client section. It is located on the “Services” tab in the “Settings” section and also in the “How-To” section.
    2. Click “Save all settings”.
    3. Now in the side menu find Performance tab and click on the “General Settings”.
    4. Scroll down to the “CDN” section.
    5. Check “Enable” as in the picture below.

wptc_set_cdn

  1. Click “Save all settings”.
  2. That’s all.

You are now using CDN.

View the page source of your website to verify it. You should see URLs of your images, CSS,.. beginning with the Service Domain.

Sincerely, CDNsun.