View Categories

How to use bunny.net with ShortPixel Adaptive Images

If you want to use your own account of bunny.net as your CDN when using
ShortPixel Adaptive Images, instead of ShortPixel’s CDN, follow these steps:

Please notice that we are not responsible for any changes made by bunny.net that would invalidate the next steps. Therefore, if you encounter any issues while creating the Pull Zone, please contact your CDN provider.
  1. Enter your bunny.net account
  2. Go to “Pull Zones” and click on “Add Pull Zone“.

  3. Under ”
    Name“, add whatever you want. For example, mydomainimg. That is going to be the custom domain on the URL of your images. Here’s an example of what they will look like:

    https://mydomainimg.b-cdn.net/spai/w_675+q_glossy+ret_img+to_webp/https://mydomain.com/wp-content/uploads/2019/06/IMG_1188.jpg
    	
  4. Under “Origin URL“, add https://no-cdn.shortpixel.ai
  5. Go to your WordPress dashboard and then Settings > ShortPixel AI > Behaviour. Enter https://mydomainimg.b-cdn.net/spai in the API URL field.
    1. Replace mydomainimg with what you actually wrote in step #3
  6. Login to your ShortPixel dashboard and associate mydomainimg.b-cdn.net to your account. Remember to replace mydomainimg with what you actually wrote in step #3. For more information on how to associate a new domain, please check this article.