Support » Plugin: Sucuri Security - Auditing, Malware Scanner and Security Hardening » How can I reset the sucuri folder location?

  • Resolved sarumbear


    I have moved a site and the file paths have changed. Sucuri still writes to the old path. How can I reset that?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi sarumbear,

    Have you checked the permissions of the new /wp-content/uploads/sucuri folder? Is it writable?

    Kind regards,

    Yes, it is. Other plugins have created their own folders.

    Hi sarumbear,

    Could you check the /wp-content/uploads/sucuri (new location) folder permissions? What is the value? I’m not sure what paths the other plugins use.

    The plugin shouldn’t need any manual configuration for directory changes. Did the URL change?

    Kind regards,


    Yes, as I said on my post above, the website is moved and the paths has changed. Sucuri settings show the old path. I want to reset/change the path.

    Hi sarumbear,

    By default, all the plugin data is stored in the files in that directory /wp-content/uploads/sucuri. If the directory and files are writable, you shouldn’t need to update the path manually.

    It is possible to change the location of the Sucuri data storage path by defining a constant in the ‘wp-config.php’ file named “SUCURI_DATA_STORAGE” with the absolute path to the new directory.


    I fail to explain the issue it seems.

    The Sucuri is installed on the following folder:


    However, its settings show and it writes data to:


    Because my website was at:


    But now on:


    I need to tell Sucuri to write to its standard location, which should be:


    • This reply was modified 2 years, 5 months ago by  sarumbear.

    You will find the answer right here

    open the file “sucuri-settings.php”, which you will find here:


    and just change the folder location

    <?php exit(0); ?>

    PS: ever “\/” stands for a / slash

    Thank you! It worked.

    I had hoped Reset Settings would have worked but it did not. Maybe something for the plugin author to consider?

    Thank you, again.

    Thank you @infoakismet2016 for explaining the solution.

    Thanks @sarumbear for the bug report, I will add new code to consider this case when the directory is moved after the settings are already in place. This patch will be merged into the main code and released with the next version of the plugin.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How can I reset the sucuri folder location?’ is closed to new replies.