API
The Gcore Customer Portal is being updated. Screenshots may not show the current version.
CDN
CDN
BillingCDN resources overviewOrigin groupPurgePrefetchReports
API
Chosen image
Home/CDN/Getting Started/Integrate CDN with CMS and other platforms/WordPress/W3 Total Cache plugin

Integrate CDN resource with WordPress (W3 Total Cache plugin)

Before you take any steps please back up your files and database. The plugin works only with default CMS pattern. If you manually changed CMS patterns plugin might not help you.

Login to your Wordpress blog at yoursite.com/wp-admin and click Enter.

Login to your Wordpress blog

Add new plugin in the "Plugins" section.

Plugins

Find the W3 Total Cache plugin using the search field of the Plugins section.
W3 Total Cache plugin

Install the W3 Total Cache plugin.
Install the W3 Total Cache plugi

Enable the installed plugin by clicking Activate Plugin.

Enable the installed plugin

In the Performance section choose "General Settings".

Performance section

In the "General Settings" section scroll down to the CDN section. Tick "Enable" field. In CDN Type choose Generic Mirror. Then click Save all settings.

General Settings

After having settings accepted, a warning of incorrect CDN settings will appear at the top of the General Settings section. Click Specify It Here in this warning message.

 warning message

Or go to the CDN section of the Performance menu.

CDN section

Enter your CNAME (you can find it in your Gcore Customer Portal) in Replace Site's Hostname With. Then click Save All Settings. Ensure that CNAME record has been configured in a proper way before using it for integration.

Configurations

Integration has been completed! We highly recommend you to check the HTML code of your webpage to ensure that URLs have been rewritten properly from your original ones to CNAME from the Customer Portal.

To do that press F12 or open Developers Tools in your browser, choose the Network tab and refresh the page. All static files should have your CNAME in URLs.

Was this article helpful?

Not a Gcore user yet?

Learn more about our next-gen CDN

Go to the product page