• Hello.

    How to remove this from WP head:
    <link rel='dns-prefetch' href='//maps.google.com'>

    I had this also:
    <link rel='dns-prefetch' href='//s.w.org'>

    But, I removed it with this cde inside my functions.php
    add_filter( 'emoji_svg_url', '__return_false' ); // <link rel='dns-prefetch' href='//s.w.org'>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Marius L. J.

    (@clorith)

    Hi,

    The one you wish to remove is added by the plugin that implemented the google maps on your site.

    I’m a bit puzzled why you would wish to remove the dns-prefetch entries, as their only purpose is to prepare your computer for possibly getting data from them (and if they do need data, it is done much faster)?

    Thread Starter Advanced SEO

    (@jole5)

    Hi.

    Yes, that is probably added by one plugin which read EXIF info from images, and if there is EXIF GEO (GPS location of place where image is taken) to show image map.

    About 0.3% posts have image with GPS info, so for most posts that is not needed, just one line more of not used code in HTML.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove dns-prefetch' href='//maps.google.com'’ is closed to new replies.