Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighthouse says "Manifest start URL is not valid" #1137

Closed
ned-bs opened this issue Apr 27, 2024 · 5 comments
Closed

Lighthouse says "Manifest start URL is not valid" #1137

ned-bs opened this issue Apr 27, 2024 · 5 comments

Comments

@ned-bs
Copy link

ned-bs commented Apr 27, 2024

Hi there,
I couldn't find a document where to start with this plugin.
There are many documents around, most of them are way too technical but there is none to lead how to start.

  1. I installed and activated plugin
  2. Set shortname - General Settings
  3. Offline browsing checked - Reading Settings

Then tested if it works via chrome browser.
Right click - Inspect- Lighthouse-Analyze page load

I got error message like below.
Could you please give simple, step by step installation guide.

https://i.imgur.com/dk6UkOc.png

PWA - INSTALLABLE
Web app manifest or service worker do not meet the installability requirements 1 reason

Failure reason -- Manifest start URL is not valid

I also have error for "Manifest doesn't have a maskable icon" but find documentation about it.

@ned-bs ned-bs changed the title Lighthouse says Lighthouse says "Manifest start URL is not valid" Apr 27, 2024
@westonruter
Copy link
Collaborator

Failure reason -- Manifest start URL is not valid

What's the URL of your site? I need to know what the start_url is set as.

I also have error for "Manifest doesn't have a maskable icon" but find documentation about it.

Good question. This is set in the Customizer (/wp-admin/customize.php), specifically in the Site Identity panel. There is #915 for eliminating the reliance on the Customizer.

@westonruter
Copy link
Collaborator

I see you cross-posted your question on the support forum: https://wordpress.org/support/topic/how-to-use-it-72/

Closing that topic as a duplicate.

@ned-bs
Copy link
Author

ned-bs commented Apr 29, 2024

Failure reason -- Manifest start URL is not valid

What's the URL of your site? I need to know what the start_url is set as.

I also have error for "Manifest doesn't have a maskable icon" but find documentation about it.

Good question. This is set in the Customizer (/wp-admin/customize.php), specifically in the Site Identity panel. There is #915 for eliminating the reliance on the Customizer.

Hi Weston,
Thanks for reply. Here is my website.
I am trying to understand how I should make it right.

@ned-bs
Copy link
Author

ned-bs commented Apr 29, 2024

I have added start url in to a file called site.webmanifest.
It it right approach?

@westonruter
Copy link
Collaborator

@ned-bs You don't actually need to add a web manifest yourself. The plugin does this automatically. You can see it doing so as follows:

<link rel="manifest" href="https://www.laptop.com.tr/wp-json/wp/v2/web-app-manifest">

That manifest has the start_url set to https://www.laptop.com.tr/ which seems correct.

@ned-bs ned-bs closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants