This article assumes that a Pull Zone has already been created.
In this guide, we will be presenting a walkthrough on how to set up Wordpress using CDN Linker.
- Download CDN Linker from github.
- Upload the plugin to the /wp-content/plugins/ directory.
- Activate the plugin through the Plugins menu in WordPress.
- Navigate to Settings --> CDN Linker.
Insert the CDN URL into the CDN URL field WITH
http://included and without trailing slash.
- Enable option Check this if you want to use your site address instead of your WordPress url.
Other options are not mandatory so they can be considered individually based on personal necesity and use-case. As the documentation states:
Check this if it is desired to have links like /wp-content/xyz.png rewritten - i. e. without the blog’s domain as a prefix.
subdomain www is optional
Check this if the 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 the CDN if the page has been visited using HTTPS. This option will not affect caching. If the website's pages are covered by SSL certificate and you don’t have SSL on CDN it is preferable to keep this option enabled.
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 files 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.)
Updating CDN Linker
I have old version of CDN Linker Lite. Can I upgrade it "painlessly" ?
Yes, upgrading to the current version of CDN Linker Lite can be done simply by replacing existing core files:
With these corresponding files:
If a secure token is being used, refer to our CDN Linker with secure token article.
We hope this article was helpful and as always, If there are any questions or concerns about any of the topics mentioned in this article, please feel free to reach out to support - we are available 24/7 by chat or email!