Use code PERFMATTERS for an extra 10% off!

How to enable CDN rewrite in WordPress

The CDN rewrite option allows you to easily use third-party CDN providers on your WordPress site. Rewrite means that it will automatically change all of your assets’ URLs on the fly to use the CDN URL. This way, your assets will load from all of the global CDN POPs, instead of just your server.

A few popular CDN providers we recommend include:

Enable CDN rewrite

Follow the steps below to enable CDN rewriting of your URLs.

Step 1

Click into the Perfmatters plugin settings.

Perfmatters plugin settings
Perfmatters plugin settings

Step 2

Click on the “CDN” tab. Toggle on “Enable CDN Rewrite.”

Note: Make sure to first configure your CDN URL.

Enable CDN rewrite

Step 3

Scroll down and click “Save Changes.”

Was this article helpful?

Related Articles