Title: CloudFlare integration
Last modified: November 13, 2017

---

# CloudFlare integration

 *  Resolved [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/)
 * Hello,
    After a long time of using Cloudflare, I would like to give a go with
   Hummingbird as well (for a second time due to previous issues). I have enabled
   everything as it shall be and go to connecting CloudFlare account in Caching 
   sub-page but after that I still got information
 * > It appears you have no active zones available. Double check your domain has
   > been added to Cloudflare and try again.
 * Tried to reset Global API key, and use a new one, but still that same, any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcloudflare-integration%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9676993)
 * Hi [@idarek](https://wordpress.org/support/users/idarek/),
 * Does your website domain in Cloudflare match your current domain?
 * Best regards,
    Anton
 *  Thread Starter [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9677303)
 * Yes, [@vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Also, tried to purche cache on cloudflare and do recheck, but nothing changed.
 * Have a look as well on: [Screenshot](https://snag.gy/Ker9XS.jpg)
    -  This reply was modified 8 years, 6 months ago by [Dariusz](https://wordpress.org/support/users/idarek/).
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9677606)
 * [@idarek](https://wordpress.org/support/users/idarek/),
 * Please give us some time to debug the issue. I will get back to you in this thread
   once I have more info.
 * Best regards,
    Anton
 *  Thread Starter [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9678042)
 * Ok, thank you.
    In meantime, just to let you know, that official CloudFlare plugin
   after logging in using email and API key showing correct Zone straight away in
   a top left corner in plugin settings.
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9678054)
 * Thanks for the info!
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9680283)
 * Hi [@idarek](https://wordpress.org/support/users/idarek/),
 * We found the issue. It will be fixed in the 1.7.1 update. If you want to make
   the fix yourself, you need to edit the file hummingbird-performance/admin/views/
   caching/browser-caching-configure-meta-box.php:
    After this (line number 376):`
   <# var zone = false; #>` Add: `<# var current_host = location.host.indexOf('www.')&&
   location.host || location.host.replace(/^www\./,''); #>` And after (next line):`
   <# for( var i = 0, len = data.zones.length; i < len; i++ ) { #>` Exchange: `<#
   if( data.zones[i].label === window.location.hostname ) { #>` With: `<# if( data.
   zones[i].label === current_host ) { #>` So at the end you end up with the next
   block of code:
 *     ```
       <# var zone = false; #>
       <# var current_host = location.host.indexOf('www.') && location.host || location.host.replace(/^www\./,''); #>
       <# for( var i = 0, len = data.zones.length; i < len; i++ ) { #>
           <# if( data.zones[i].label === current_host ) { #>
               <# zone = true; #>
               <# break; #>
           <# } #>
       <# } #>
       ```
   
 * Best regards,
    Anton
    -  This reply was modified 8 years, 6 months ago by [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/).
 *  Thread Starter [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9680464)
 * Sorted, thank you for your help.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘CloudFlare integration’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Dariusz](https://wordpress.org/support/users/idarek/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/cloudflare-integration/#post-9680464)
 * Status: resolved