Website Building » WordPress » How do I enable CDN in WordPress?

How do I enable CDN in WordPress?

Last updated on September 25, 2022 @ 12:28 am

Adding CDN support to your WordPress site can give you a performance boost by allowing your content to be served from a geographically diverse set of servers. To enable CDN support in WordPress, follow these steps:

1. Open the WordPress administrator panel and click on the “Media” menu item.

2. Select the “CDN” option from the Media menu and click on the “Configure” button.

3. On the “CDN Configuration” page, you will need to provide the details of a CDN provider.

You will also need to provide the URL of your WordPress site’s root directory.

PRO TIP: If you are not comfortable with code, then we recommend you seek help from a developer before proceeding. Enabling CDN in WordPress can be done by adding a few lines of code to your wp-config.php file. If you have not done this before, then please take a backup of your site before proceeding.

4. Finally, you will need to select the “Enable CDN” checkbox and click on the “Save Changes” button.

5. You will now need to activate the CDN by clicking on the “Activate CDN” button.

6. You will now see a performance boost in the loading times of your WordPress site.

You can also verify the CDN is working by visiting the URL of your WordPress site and checking for the presence of the “wp-content” directory.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.