Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    Some of the files our WordPress plugin automatically includes in your page is not publicly accessible due to what appears to be your server’s settings limiting access to these files:
    ?

    yoursite.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php
    yoursite.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKUpdaterWorker.js.php
    yoursite.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/manifest.json.php
    Can you please check for things that might be blocking or redirecting these three specific files? The browser looks at these files when subscribing, so they need to be publicly accessible.
    ?
    Some things to check are:
    ?
    1 – If you are using a security plugin, make sure you are allowing PHP files to be run. Common examples:
    ?
    – if you have iThemes Security plugin, disable the “PHP in Plugins” under “System Tweaks”
    – if you have the Defender Security plugin, make sure to not Prevent PHP execution in your settings, otherwise, see 2 below to add htaccess file to your site
    ?
    2 – If using a CDN or Caching plugin, see: https://documentation.onesignal.com/docs/troubleshooting-web-push#section-wordpress-cdn-support
    ?
    3 – check that your .htaccess file sitting in the wp-content folder is not blocking php files, here is an example htaccess code: https://documentation.onesignal.com/docs/troubleshooting-web-push#section-example-htaccess
    ?
    4 – Contact your hosting provider and ask them to whitelist these files.

    For further assistance, please reach out to [email protected]

    Thread Starter Gruskel

    (@elevas33)

    As I said in the message I was forced to block the folders of the plugin because they were indexed in the Google browser and I do not want them to be indexed. To do this, I unindexed them with Google search console and blocked the folders of the plugin with the following code in HTCacce

    Options All -Indexes

    That’s why I get error 403, if I remove this code again will be re-indexed and I do not want apart that I subtract budget tracking.as a security plugin use wordfence but I do not know where that option is what I do not want is to index in google the folders of onesignal that is terrible I have lost more than 80% of my traffic to install this plugin.

    Thread Starter Gruskel

    (@elevas33)

    If there is any way to create a redirection to HOME to avoid indexing all those onesignal folders you could remove the error code 403 by removing the HTCaccess code. Is there any regular expression to put in the plugin redirection to be able to make a redirection of the folders from onesignal to the home automatically? thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘It indexes the folders and files of onesignal’ is closed to new replies.