Important Note

This tutorial assumes you have already created a Pull Zone.

  1. Download CDN Linker from github.
  2. Upload the plugin to your /wp-content/plugins/ directory.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Navigate to Settings –> CDN Linker.
  5. Type in (paste) the CDN URL into the field called CDN URL WITH http:// included and without trailing slash.

  6. Enable option Check this if you want to use your site address instead of your WordPress url.
  7. Other options are not mandatory so you can consider them individually based on your personal needs and scenario. As documentation states:
    • rewrite-root-relative refs
      Check this if you want to have links like /wp-content/xyz.png rewritten – i. e. without your blog’s domain as prefix.
    • subdomain www is optional
      Check this if your blog can be accessed without a www in front of its domain name. If unchecked links without a www won’t be modified. Safe to say yes here.
    • skip CDN if HTTPS
      Skips linking to your CDN if the page has been visited using HTTPS. This option will not affect caching. If your pages are covered by SSL certificate and you don’t have SSL on CDN you should keep this option enabled (or if you have only few SSL pages that you want to free off from CDN).
    • include dirs
      Directories to include in static file matching. Use a comma as delimiter. Default is wp-content, wp-includes, which will be enforced if this field is left empty.
    • exclude if substring
      Excludes something from being rewritten if one of the above strings is found in the match. Use a comma as delimiter. E. g. .php, .flv, .do. Always include .php, which is the default. (Will be set to .php if left empty.)

I have old version of CDN Linker Lite. Can I upgrade it “painlessly” ?

You can always upgrade your current version of CDN Linker Lite simply by replacing existing core files:

  • cdn-linker-base.php
  • wp-cdn-linker.php

With corresponding files from:


Using secure token? Check out this article.

  • Where can we get the commercial version of CDN Linker? Mark talks about it but doesn’t link it.

    • Hello Alec,

      Thank you for your comment. You can contact Mark directly by email listed in the GitHub link here: in the README.rst.

      Please let us know if there’s anything else we can assist you with.

      • Thanks for your prompt response Veljko.

        Still it’s not a particularly helpful. Wouldn’t it be better for you to contact Mark and let us all know when you have an answer, as MaxCDN are the ones promoting the technology.

        • Marko Markovic

          Hello Alec,

          Just in case you need a reference for the licence, here’s a link:

          However, as Mark specified that end-users should e-mail him directly to acquire individual licence I recommend that you do so via provided e-mail on the GitHub page, as the use case varies from end-user to end-user and the answer would vary for each client.

          If you do not want to proceed with that we’d be more than happy to offer you different options, just send us an e-mail to

          Thank you!

        • Thanks for linking to the actual license. This kind of obscure “email me and maybe I’ll tell you the price” shenanigans is why donation-ware doesn’t work and commercial open source often struggles. There should be a clear and public price list with usage cases. Transparency.

          Sad to see more good software compromised by poor business practices.