Title: OneSignal not work to https
Last modified: April 18, 2022

---

# OneSignal not work to https

 *  Resolved [frostengine](https://wordpress.org/support/users/frostengine/)
 * (@frostengine)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/onesignal-not-work-to-https/)
 * Good afternoon, I can not understand what the problem, all set up on the plugin
   side and the site OneSignal, but the notifications do not come, and the console
   gives this: [https://imgur.com/a/xpnDBaq](https://imgur.com/a/xpnDBaq)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fonesignal-not-work-to-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [OneSignal Push Notifications](https://wordpress.org/support/users/onesignal/)
 * (@onesignal)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/onesignal-not-work-to-https/#post-15604585)
 * Hello, it appears you have another plugin that is changing the reference to our
   service workers from:
 * /wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/push/onesignal/
 * to
 * /modules/cc1cff0190/sdk_files/
 * We recommend removing this redirect if you can.
 * If you cannot remove this redirect, then you will need to add some code to your
   site.
 * Follow this guide: [https://documentation.onesignal.com/docs/onesignal-service-worker-faq#wordpress-plugin-setup—service-worker-customizations](https://documentation.onesignal.com/docs/onesignal-service-worker-faq#wordpress-plugin-setup—service-worker-customizations)
 * This is what your specific javascript code will look like in this case:
 *     ```
       <script>
         window.addEventListener('load', function() {
           window.OneSignal = window.OneSignal || [];
           window.OneSignal.push(function() {
             OneSignal.SERVICE_WORKER_UPDATER_PATH = "modules/cc1cff0190/sdk_files/OneSignalSDKUpdaterWorker.js";
             OneSignal.SERVICE_WORKER_PATH = "modules/cc1cff0190/sdk_files//OneSignalSDKWorker.js";
             OneSignal.SERVICE_WORKER_PARAM = { scope: "/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/" };
             delete window._oneSignalInitOptions.path
             window.OneSignal.init(window._oneSignalInitOptions);
           });
         });
       </script>
       ```
   
 * If you are still having problem, please reach out support team using [support@onesignal.com](https://wordpress.org/support/topic/onesignal-not-work-to-https/support@onesignal.com?output_format=md)
   and reference this support forum url.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘OneSignal not work to https’ is closed to new replies.

 * ![](https://ps.w.org/onesignal-free-web-push-notifications/assets/icon.svg?rev
   =3003897)
 * [OneSignal - Web Push Notifications](https://wordpress.org/plugins/onesignal-free-web-push-notifications/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/onesignal-free-web-push-notifications/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/)
 * [Active Topics](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/reviews/)

## Tags

 * [push](https://wordpress.org/support/topic-tag/push/)

 * 1 reply
 * 2 participants
 * Last reply from: [OneSignal Push Notifications](https://wordpress.org/support/users/onesignal/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/onesignal-not-work-to-https/#post-15604585)
 * Status: resolved