Knowledgebase

Using Your CDN with WordPress (Easy Setup) Print

  • wordpress cdn setup, litespeed cdn setup, bunnycdn wordpress, cdn enabler wordpress, speed up wordpress, cdn wordpress guide
  • 0

This guide shows you the easiest way to connect your CDN to your WordPress website.


Option 1: Use a Plugin (Recommended)

The easiest way is to use a plugin.

Popular options include:

  • LiteSpeed Cache (recommended for most hosting)
  • WP Rocket
  • CDN Enabler

Setting Up with LiteSpeed Cache

If your hosting uses LiteSpeed (most cPanel hosting does), follow these steps:

  • Log in to WordPress Admin
  • Go to LiteSpeed Cache → CDN
  • Enable CDN
  • Enter your CDN URL (e.g. https://cdn.yourdomain.com)
  • Save changes

Setting Up with CDN Enabler (Simple Option)

  • Install the CDN Enabler plugin
  • Go to Settings → CDN Enabler
  • Enter your CDN URL
  • Save

What Does This Do?

The plugin automatically rewrites your website links so images, CSS, and scripts are loaded from the CDN.

This makes your website load faster.


Important: Use HTTPS

Make sure your CDN URL starts with:

https://

This avoids browser warnings and errors.


Clear Cache After Setup

After setting up your CDN:

  • Clear your WordPress cache
  • Clear your browser cache

How to Check if It’s Working

Right-click your website and click Inspect, then look for files loading from:

cdn.yourdomain.com

If you see this, your CDN is working.


Summary

Using a plugin is the easiest way to connect your CDN to WordPress.

Once set up, your website will load faster for visitors.


If you need help, contact our support team and we’ll assist you.


Was this answer helpful?

« Back