This recipe allows you to correctly configure the Content-Type header for the Web App Manifest file on your website. The Web App Manifest file is a JSON file that provides metadata about your web application, such as its name, author, background accent color and icon. By setting the Content-Type header for the manifest.webmanifest file, you can ensure that browsers and other user agents correctly interpret the file as a web app manifest.

Most of the time, the manifest files are served with the application/json Content-Type, but the standards about "Web Application Manifest" specify that the content type used to serve Web App Manifest files should be application/manifest+json. This recipe will help you to configure the correct Content-Type header for the Web App Manifest file on your website, ensuring a maximum compatibility with browsers and user agents.

How to install this recipe on my website with redirection.io?

Installing this recipe on your website requires the following steps:

  1. Locate the Web App Manifest file: You can use our free Web App Manifest validator to find the Web App Manifest file on your website. This file is usually named manifest.webmanifest, manifest.json or site.webmanifest, and it is most of the time located at the root of your website.
  2. Configure the path of the Web App Manifest file: Copy the path of the Web App Manifest file and paste it in the "Path of the manifest file" field.
  3. Click on "Install on My Website": This will create the associated redirection.io rule in draft mode, so you can review it, change it if needed, and publish it to activate the recipe on your website.