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
- That’s all.
- Now we use the Service Domain in Wodpress WP Super Cache plugin.
Enable CDN in WordPress WP Super Cache plugin
- Install WP Super Cache plugin into your WordPress website.
- In the side menu find Settings tab and click on the “WP Super Cache”.
- Next switch to the “CDN” tab.
- Tick the “Enable CDN Support” check box.
- Enter your Service Domain in the input field Off-site URL as in the picture below.
- 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.
- If you don’t have CDN SSL tick the check box “Skip https URLs to avoid “mixed content” errors”.
- Click “Save Changes”.
- 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.