Select the Gcore Platform

Gcore Edge Solutions
Go to Gcore Platform →
Products:
  • Edge Delivery (CDN)
  • DNS with failover
  • Virtual Machines
  • Bare Metal
  • Cloud Load Balancers
  • Managed Kubernetes
  • AI Infrastructure
  • Edge Security (DDOS+WAF)
  • FaaS
  • Streaming
  • Object Storage
  • ImageStack (Optimize and Resize)
  • Edge Compute (Coming soon)
Gcore Hosting
Go to Gcore Hosting →
Products:
  • VPS Hosting
  • Dedicated Servers
  • SSL Certificates

How to integrate a WordPress website with CDN



Any WordPress website can be easily integrated with our CDN.

We added the first manuals on connecting three third-party WordPress plugins to our knowledge base in 2017. Some of our clients found the plugins to be of use to them, while others expected more flexible configuration. We’ve analyzed all the requests and created our own plugin.

How to install the plugin

Go to your WordPress administration panel and select Plugins > Add new. In the plugin search field, enter “Gcore CDN”. Install the found plugin.

To activate the plugin, click Activate or go to Plugins > Installed.

How to integrate a WordPress website with CDN

After successful installation, the Gcore plugin will appear in the WordPress menu.

Working with the plugin

Integration with CDN

To integrate your website with the Gcore CDN, go to the plugin settings: find it in the menu and select CDN Settings > General.

Check the Enable CDN checkbox and click Save.

After that, fill out the Personal domain field and click Save.

How to integrate a WordPress website with CDN

File types

Specify the file extensions you want to distribute via CDN. Enter the extensions one by one and click Add. The added extensions will be displayed in the section.

How to integrate a WordPress website with CDN

Folders

Specify paths to the folders containing files you want to distribute via CDN in the Folders section. Enter the paths one by one and click Add. The added folders will be displayed in the section.

How to integrate a WordPress website with CDN

Exceptions

In the Exceptions section, specify the URLs of the files that should not be distributed via CDN. Enter the URLs one by one and click Add. The added URLs will be displayed in the section.

How to integrate a WordPress website with CDN

How does it work?

If the content is to be distributed via CDN, your domain name in the URL will be replaced with the personal domain that you specified in the General section.

How to integrate a WordPress website with CDN

Request processing logic:

  • Is the URL from which the content is requested specified in the Exceptions section? If true, the domain name is not replaced and the file is distributed as usual. If false or no exception is specified, check the following rule.
  • Is the content in the folder specified in the Folders section? If false, the domain name is not replaced and the file is distributed as usual. If true or no folder is specified, check the following rule.
  • Is the extension included in the list of extensions for which the URL is changed? If false, the domain name is not replaced and the file is distributed as usual. If true, the personal CDN domain is used.

You can always learn how other features of our advanced CDN work in the knowledge base.

New favorable plans for CDN are presented on the service page.

Share this article

Related articles

Subscribe to a useful newsletter

Favorable offers and important news once a month. No spam.