Create a Pull Zone for the Website
First, on your BunnyCDN account dashboard, create a pull zone for the website.
Click on add pull zone.
I’m going to copy and paste the site URL.
Include the correct protocol, either HTTP or HTTPS.
Take note of the pull zone name.
Using W3 Total Cache Plugin
In this example, I’m going to use the W3 Total Cache plugin.
On the plugin’s general settings, enable the CDN.
Choose Generic Mirror for the CDN type.
And save settings & Purge Caches.
Go to the CDN tab.
Copy and paste in the hostname we just created from bunny CDN.
Save settings & purge Caches.
Using the Bunny CDN Plugin
Now using the Bunny CDN plugin, let’s install it and deactivate the W3 cache plugin.
On the pull zone name, copy and paste it from the bunny CDN.
Make sure that it matches the pull zone that we just created.
Let’s see if the CDN is working.
Look at the website images.
Right-click on the image and inspect.
Your image source URL should be pointing to the CDN hostname.
Make sure to deactivate your website’s server-side caching service if there’s any when you create a pull zone.