Title: Remove dns-prefetch
Last modified: August 9, 2021

---

# Remove dns-prefetch

 *  Resolved [newshop](https://wordpress.org/support/users/newshop/)
 * (@newshop)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-dns-prefetch/)
 * Hello,
    I noticed that when Hummingbird is enabled, there is this line in my 
   source code: `<link rel='dns-prefetch' href='//fonts.googleapis.com' />` although
   I dont use any google fonts and have disabled all hummingbird optimization options(
   I just use it for performance test). So, I would like to remove this. How can
   I do that?

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

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-dns-prefetch/#post-14748145)
 * Hi [@newshop](https://wordpress.org/support/users/newshop/)
 * I hope you’re well today!
 * Please go to the “Hummingbird -> Advanced Tools -> General” page and scroll it
   down until the “Prefetch DNS Requests” option. There’s text box in which you 
   can define what should be prefetched. If you want to disable Hummingbird pre-
   fetching these requests you’d want to remove everything from that option box,
   leaving only “grayed-out placeholders”.
 * Hummingbird will only “pass over” what is already set to be prefetched by WordPress
   core and/or theme and/or other plugins in such case.
 * Kind regards,
    Adam
 *  Thread Starter [newshop](https://wordpress.org/support/users/newshop/)
 * (@newshop)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-dns-prefetch/#post-14748156)
 * Hi Adam,
    thank you very much for your soon reply. I’ve already checked that 
   box and its empty. Thats why I dont understand why this line of code is added.
   I disabled all plugins except woocommerce and hummingbird and only disabling 
   hummingbird too removed this line. Any more ideas what to check?
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-dns-prefetch/#post-14748368)
 * Hi [@newshop](https://wordpress.org/support/users/newshop/)
 * Thanks for response!
 * I admit this is a bit strange and quite unexpected. I tried but I can’t replicate
   this. With Hummingbird enabled but both “prefetch” and “preconnect” options emptied,
   I’m only having this line
 * `<link rel='dns-prefetch' href='//s.w.org' />`
 * but so it is there also with Hummingbird disabled entirely – I’m testing with
   no other plugins active and default Twenty Twenty-One theme on WordPress 5.8.
 * This would be expected. There are two other lines added by default but they are
   not “prefetch” but “preconnect”. Are you sure it’s “prefetch” in your case and
   not “preconnect”, like this?:
 *     ```
       <link rel='preconnect' href='https://fonts.gstatic.com' />
       <link rel='preconnect' href='https://fonts.googleapis.com' />
       ```
   
 * I just want to make sure, hence the question. Also, is it happening as well if
   you – in addition to disabling all other plugins – switch theme to Twenty Twenty-
   One?
 * Let me know, please.
 * Best regards,
    Adam
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/remove-dns-prefetch/#post-14770030)
 * Hi [@newshop](https://wordpress.org/support/users/newshop/)
 * I hope you are doing well and safe!
 * We haven’t heard from you in a while, I’ll mark this thread as resolved.
 * Feel free to let us know if you have any additional questions or problems.
 * Best Regards
    Patrick Freitas

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

The topic ‘Remove dns-prefetch’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/remove-dns-prefetch/#post-14770030)
 * Status: resolved