Title: OneSignal SDK Worker
Last modified: May 16, 2020

---

# OneSignal SDK Worker

 *  Resolved [tutorialsdiary](https://wordpress.org/support/users/tutorialsdiary/)
 * (@tutorialsdiary)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/onesignal-sdk-worker/)
 * Hi there,
    I have a redirection plugin that redirects every non-existing URL 
   to the homepage. Recently, I have been using the Onesignal plugin but uninstalled
   it for some reasons, now my redirection plugin panel shows this URL as the latest
   redirected to the homepage. Please tell me where is this file is and how can 
   I remove it. also, do you know where is the traffic coming from on this URL?
 * [https://www.myfreeslides.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php?appId=6e5b271b-641d-4f6c-a7fe-5b111eeb3938](https://www.myfreeslides.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php?appId=6e5b271b-641d-4f6c-a7fe-5b111eeb3938)

Viewing 1 replies (of 1 total)

 *  Plugin Author [OneSignal Push Notifications](https://wordpress.org/support/users/onesignal/)
 * (@onesignal)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/onesignal-sdk-worker/#post-13148362)
 * Hi. This file will be fetched by users who have opted-in to notifications from
   your website by their browser from time to time. This is due to how browsers 
   implement support for Web Push using a technology called Service Workers.
 * You can learn about Service Workers, and how the Service Worker lifecycle may
   cause this file to be fetched from your server from time to time even if you 
   remove it or if users have not visited your website in a while: [https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle](https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle)
 * You can replace this file with a blank file or modify how your redirection behavior
   works in order to avoid seeing the problem you’re experiencing.
 * Another option would be to add the following code to your website:
 *     ```
       navigator.serviceWorker.getRegistrations().then(function(registrations) {
        for(let registration of registrations) {
         registration.unregister()
       } })
       ```
   
 * The above code will unregister the record of the service worker from users when
   they next visit your website (if they had previously opted into notifications).
 * All that said, normally you don’t need to worry about this and it will resolve
   itself over time.

Viewing 1 replies (of 1 total)

The topic ‘OneSignal SDK Worker’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [OneSignal Push Notifications](https://wordpress.org/support/users/onesignal/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/onesignal-sdk-worker/#post-13148362)
 * Status: resolved