WordPress.org

Ready to get started?Download WordPress

Forums

icon is not displayed in chrome (8 posts)

  1. baxterstockman
    Member
    Posted 4 months ago #

    hey,

    I have a problem with my icon, I'm using the following code:

    <link rel="icon" href=".../favicon.ico" type="image/x-icon">
    <link rel="shortcut icon"  type="image/x-icon" href="img/favicon.ico" />

    ... is the link

    but my icon is only displayed in firefox after refreshing the site not at the first hit

    and with chrome it's not displayed at all, only when I go into my dashboard

    I already deleted the cache and waited for 24h, does anyone know why or has advice?

  2. neauxway
    Member
    Posted 4 months ago #

    I believe the favicon must be expressed as either an absolute path (http://www.example.com/subdir/favicon.ico) or root relative path (/subdir/favicon.ico)

  3. baxterstockman
    Member
    Posted 4 months ago #

    it is an absoluth path I just didn't want to type out the whole link, it's like that:

    <link rel="icon" href="http://markhuber.bplaced.net/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon"  type="image/x-icon" href="img/favicon.ico" />
  4. neauxway
    Member
    Posted 4 months ago #

    The following code, when rendered, displayed your favicon in Chrome, Firefox, Safari & IE10.

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <link rel="icon" href="http://markhuber.bplaced.net/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon"  type="image/x-icon" href="http://markhuber.bplaced.net/favicon.ico" />
    </head>
    <body>
    </body>
    </html>
  5. baxterstockman
    Member
    Posted 4 months ago #

    ok thanks but still doesn't work, I read somewhere that it cant take up to 24h to adapt the edits, is that true?

  6. neauxway
    Member
    Posted 4 months ago #

    I'd be surprised if that is the case. I don't use WP.com, so I don't know what their conventions about this are. Maybe a browser cache issue? W3 Total Cache plugin or something like that? I see your favicon when I render that HTML code in all browsers, which leads me to believe it's some kind of local caching issue.

  7. baxterstockman
    Member
    Posted 4 months ago #

    ohhh ok, thank you then, must be a local thing then.

    Thank you!

  8. Andrew
    Forum Moderator
    Posted 4 months ago #

    @Jam Viet, If you want to discuss your own issues create your own thread: http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

Reply

You must log in to post.

About this Topic

Tags

No tags yet.