• Resolved David Elstob

    (@davwaiguy)


    Was just having a nosey around, as I always like to see how the professionals do things. I noticed that the Manifest doesn’t have a start URL, so presumably the PWA won’t work on the official website.

    Perhaps this is by choice or temporary, but thought it was worth mentioning in case somebody has forgotten to put one in.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    It doesn’t? I see a start_url here: https://amp-wp.org/wp-json/wp/v2/web-app-manifest

    Thread Starter David Elstob

    (@davwaiguy)

    How come it doesn’t show in mine? The Lighthouse audit gives it full marks for PWA, but when I open the manifest it’s missing.

    Are you allowed to declare it elsewhere?

    This is the manifest at my end…

    {
      "short_name": "AMP for WP",
      "name": "AMP for WordPress",
      "icons": [
        {
          "src": "/wp-content/themes/amp-product-site/images/favicons/android-chrome-192x192.png",
          "sizes": "192x192",
          "type": "image/png"
        },
        {
          "src": "/wp-content/themes/amp-product-site/images/favicons/android-chrome-512x512.png",
          "sizes": "512x512",
          "type": "image/png"
        }
      ],
      "theme_color": "#ffffff",
      "background_color": "#ffffff",
      "display": "standalone"
    }
    Plugin Author Weston Ruter

    (@westonruter)

    I see the problem. There are duplicate manifests. Fixing…

    Thread Starter David Elstob

    (@davwaiguy)

    Thanks, Weston.

    Plugin Author Weston Ruter

    (@westonruter)

    There. Now there is only one manifest:

    <link rel="manifest" href="https://amp-wp.org/wp-json/wp/v2/web-app-manifest">

    Thanks a lot for pointing that out!

    Thread Starter David Elstob

    (@davwaiguy)

    Cool and no worries. I appreciate the work you guys do on behalf of us all. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No Start URL in Manifest’ is closed to new replies.