DuckDuckGo browser requires favicon.ico
#7114
Replies: 2 comments 5 replies
-
Various bits of documentation suggest that this is not the case. Favicons can have different file formats and any name you like. They are declared using a Which browser are you using to access your site that produces the 404s? Can you make this reproducible so we might have a look at it? Also, note that the browser seems to be looking for |
Beta Was this translation helpful? Give feedback.
-
Weird, something has to create this mkdocs-material/src/templates/base.html Lines 79 to 80 in 9d901a3 However, testing on my Firefox browser and local example defining a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue(Original)When following the instructions for changing the favicon, users should be aware that the file name must befavicon.png
.Originally, this didn't used to matter. However, recently we noticed a bunch of failed requests utilizing the development server. For example, this is how we used to configure the favicon in our documentation:Issue (Updated)
The DuckDuckGo browser submits multiple requests for a
favicon.ico
file, which throws warning messages when utilizing the development server.Reproduction
test-favicon.zip
Fix
The solution is to rename the file tofavicon.png
and adjust the file name in themkdocs.yml
configuration as well.The solution was to create a
favicon.ico
file in the/docs
directory.Beta Was this translation helpful? Give feedback.
All reactions