Place your favicon.ico in the root of your site. Modern browsers automatically request /favicon.ico — but adding explicit link tags ensures every browser and device gets the right size:
<link rel="icon" type="image/x-icon" href="/favicon.ico"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="manifest" href="/site.webmanifest">
Design tip: Favicons are tiny. Avoid fine text, thin lines, or complex illustrations — they become unrecognisable at 16×16px. A single bold letter, a simple shape, or a clean logomark works best. When in doubt, test your icon at 16×16 before finalising.