Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthew Kirschner 323 posts 611 karma points
    Apr 23, 2015 @ 17:29
    Matthew Kirschner
    0

    Umbraco is Using the Google Favicon

    At some point, Umbraco's favicon got replaced with Google's (see img). Does anyone know how this could have happened and what I could do to fix it? There never used to be one and I'd like to use my own.

    enter image description here

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Apr 23, 2015 @ 18:14
    Dennis Aaen
    0

    Hi Matthew,

    I donĀ“t know why Umbraco's favicon got replaced with Google's. But if you want to replaced it with your own you can use a generator like this http://www.favicon.cc/ to create the favicon file.

    I think that you need to add this into the head section in your master template, and added the images in the root of your Umbraco installation

    <!-- Standard fav icon -->
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <!-- Standard iPhone -->
    <link rel="apple-touch-icon" sizes="57x57" href="/favicon114.png" />
    <!-- Retina iPhone -->
    <link rel="apple-touch-icon" sizes="114x114" href="/favicon114.png" />
    <!-- Standard iPad -->
    <link rel="apple-touch-icon" sizes="72x72" href="/favicon144.png" />
    <!-- Retina iPad -->
    <link rel="apple-touch-icon" sizes="144x144" href="/favicon144.png" />

    Perhaps you need to recycle the aplication pool before you can see the changes. Or try to see your page in incognito mode.

    Hope this helps,

    /Dennis

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Apr 23, 2015 @ 18:50
    Dennis Aaen
    100

    Hi Matthew,

    Had another look at it an maybe you need to add it to the \Umbraco\Views\Default.cshtml to get the favicon to appears when you are in Umbraco. The downside with this is that you probably need to do the same changes if you upgrade your Umbraco installation.

    And remember to change the href="" so it points to your favicon and images.

    Hope this helps,

    /Dennis

  • Matthew Kirschner 323 posts 611 karma points
    Apr 23, 2015 @ 19:23
    Matthew Kirschner
    0

    Thanks, Dennis.

    Adding the favicon link in \Umbraco\Views\Default.cshtml did the trick.

    I've created a feature request for a better solution to custom favicons in the backoffice: http://issues.umbraco.org/issue/U4-6548

  • Alex Skrypnyk 6148 posts 24077 karma points MVP 8x admin c-trib
    Apr 23, 2015 @ 20:29
    Alex Skrypnyk
    1

    Hi Matthew and Dennis,

    This isn't Umbraco issue )) it's Chrome issue, only Chrome shows Google icon )))

    Thanks

  • Matthew Kirschner 323 posts 611 karma points
    Apr 23, 2015 @ 20:47
    Matthew Kirschner
    1

    Thanks, Alex. I should have thought of that.

    For the record, here is the default favicon trend per browser that I've noticed:

    • Chrome - Defaults to Google icon or blank page icon (perhaps only for localhost)
    • FireFox - Defaults to no icon
    • IE11 - Defaults to IE icon
    • Safari - Defaults to a world icon; icons are not shown on tabs and are only visible when clicking in the URL
Please Sign in or register to post replies

Write your reply to:

Draft