site.webmanifest 401 404 not found error

404/401 Error on site.webmanifest

Last updated on | 6 replies

The web app manifest is a simple JSON file that tells the browser about your web application and how it should behave when ‘installed’ on the user’s mobile device or desktop, such as when the user adds the website to their iPhone or Android home screen.

A typical manifest file includes information about the app name, icons it should use, the start_url it should start at when launched, and more. It is often used by favicon generators for websites.

site.webmanifest
{
    "name": "",
    "short_name": "",
    "icons": [
        {
            "src": "/android-chrome-192x192.png",
            "sizes": "192x192",
            "type": "image/png"
        },
        {
            "src": "/android-chrome-256x256.png",
            "sizes": "256x256",
            "type": "image/png"
        }
    ],
    "theme_color": "#000000",
    "background_color": "#000000",
    "display": "standalone"
}

For some reason, this file site.webmanifest may be blocked by your web server or CDN. I still haven’t figured what it causing this issue though there is a simple workaround. Just rename site.webmanifest  to manifest.json and update your link tag.

<link rel="manifest" href="/favicons/manifest.json>

Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.

p.s. I increased my AdSense revenue by 200% using AI 🤖. Read my Ezoic review to find out how.

6 replies

Leave a reply

Your email address will not be published.

  1. Thank you, this solved the problem for me and fortunately it was the first result in Google, so it was a quick solution!

  2. If hosting via Azure the solution was same as that for .json files: add it to the mimeMap extension permissions:

    1. Thank you, keeping the name as site.webmanifest but adding crossorigin="use-credentials" worked for me.