Wordpress CDN integration
09 Oct 2013

WordPress CDN integration using WP Super Cache plugin

WordPress CDN integration using WP Super 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 WP Super Cache plugin.

Enable CDN in WordPress WP Super Cache plugin

    1. Install WP Super Cache plugin into your WordPress website.
    2. In the side menu find Settings tab and click on the “WP Super Cache”.
    3. Next switch to the “CDN” tab.
    4. Tick the “Enable CDN Support” check box.
    5. Enter your Service Domain in the input field Off-site URL as in the picture below.

wpsc

  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. If you don’t have CDN SSL tick the check box “Skip https URLs to avoid “mixed content” errors”.
  3. Click “Save Changes”.
  4. 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.

Leave a Reply