Ghost Digital Ocean wrong favicon for subdomain

June 15, 2018 511 views
Ghost Ubuntu 16.04

Recently, I created a droplet for hosting my ghost blog on digital ocean. Unfortunately, after changing the favicon, my default favicon is't showed up. As you can see https://blog.arielmiki.xyz/favicon.ico is the default ghost icon. And my favicon is showed up here https://blog.arielmiki.xyz/favicon.ico/. It's showed up when I used the /. And the most strange thing, it is showed up in my other page. https://www.arielmiki.xyz/favicon.ico, even though my root folder do not contain any favicon.ico files.

1 comment
3 Answers
me322 June 15, 2018
Accepted Answer

I find the solution. I purge my cloudfare cache and it's work.

Hm - I also see the default ghost icon at both https://blog.arielmiki.xyz/favicon.ico and
https://blog.arielmiki.xyz/favicon.ico/ - are you sure you successfully uploaded a custom favicon in Ghost following these instructions:

  1. Login to Ghost admin panel
  2. Click General
  3. Under Publication Icon upload your favicon.ico
  4. Click Save

Two other things to consider:

  1. Sometimes image file uploading will fail in GHOST because it doesn't have proper write permissions on your server, test that uploading other files (like photos in posts) works to eliminate this as a possibility.
  2. Browsers cache favicons, HEAVILY. So even after you change your favicon and even after you see the correct image at https://blog.arielmiki.xyz/favicon.ico, you may continue to see the old favicon in the browser tab, sometimes you just to close and restart the browser, or try another browser to confirm the new image is working correctly.
  • I've done that and it doesn't change. I've reinstalled my ghost. Btw, thanks for your suggestion.

Have another answer? Share your knowledge.