Thread Starter
Jan
(@jannetto96)
Hello,
I inserted the image as from json file but still the “add to home screen” screen does not appear…
You can tell me how to edit manifest file maybe? Because I don’t find in my FTP…
-
This reply was modified 2 years, 6 months ago by
Jan.
Hi @jannetto96 and @nico_martin
I think you are having a sub folder installation. Even I had the same issue. I had even provided a fix which you can see here – https://wordpress.org/support/topic/wordpress-subfolder-install-pwa-manifest-site-icon-error-and-add-button/
The thing is that Progressive WP does not seem to get the subfolder URL installation but instead gets the root url which causes the icon error and in turn causes the manifest error. I was able to get Progressive WP running after I manually modified the code that I have suggested above. Hope it helps.
Thread Starter
Jan
(@jannetto96)
Hello,
I resolved thank you 🙂
@jannetto96 Good to know my code resolved the issue. @nico_martin would really appreciate if subfolder urls are correctly detected by Progressive and you modify the code for such installations.
Hi @cmsnext
If you have an idea how to implement it wothout breaking other edgecases, PRs are always welcome: https://github.com/SayHelloGmbH/progressive-wordpress/
Kind Regards,
Nico
@nico_martin I am not really sure how it works, but my code modification worked and fixed the issue for sub folder installation. May be my code may need refinement. I think you need to see how you call WordPress Address (URL) and Site Address (URL)
The WordPress Address is the one that you usually have in a sub folder so image path should have WordPress URL. For links we have to use Site Address.