Trouble at WP engine
-
I cannot seem to get OneSignal setup at WP engine.
I found this:
https://documentation.onesignal.com/docs/troubleshooting-wordpress-web-push#wp-engineShould I just change “YOURSITEHERE” or also the CDN handle and paths?
#https?://(www\.)?(daytrading\.se|mywpenginehandleHere.wpengine.com|wpengineCDNpathHere.wpengine.netdna-(ssl|cdn).com)/wp-(content|includes)# => https://wpengineCDNpathHere-wpengine.netdna-ssl.com/wp-$4
#https://wpengineCDNpathHere-wpengine.netdna-ssl.com/plugins/onesignal-free-web-push-notifications/# => https://mywebsiteHere.com/wp-content/plugins/onesignal-free-web-push-notifications/
#https://wpengineCDNpathHere-wpengine.netdna-ssl.com/wp-content/plugins/onesignal-free-web-push-notifications/# => https://mywebsiteHere.com/wp-content/plugins/onesignal-free-web-push-notifications/Here is the errors:
[Service Worker Installation] Installing service worker failed SecurityError: Failed to register a ServiceWorker: The origin of the provided scriptURL ('https://daytrading.se') does not match the current origin ('https://www.daytrading.se'). Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The origin of the provided scriptURL ('https://daytrading.se') does not match the current origin ('https://www.daytrading.se').
The page I need help with: [log in to see the link]
- The topic ‘Trouble at WP engine’ is closed to new replies.