Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nagdy

    (@nagdy)

    Hi @redwancou ??

    You could have tried to post in the support forum to check if there’s a possible fix for this instead of a 2-stars review ??

    Anyway, there’s a filter here https://github.com/amElnagdy/salt-shaker/blob/1c30ed00567041d8d9dc94c11c744961c29f0b36/_inc/core.class.php#L37

    You can check if it can fix your issue.

    Good luck!

    • This reply was modified 3 years, 5 months ago by Nagdy.
    Thread Starter Md. Redwan Hossain

    (@redwancou)

    Sorry I haven’t noticed. Review is now updated to 5 star. And I don’t understand the code of the link you sent.
    Let me explain what I did. I have created a dummy wp config and moved the real wp config to another folder. Then I linked the main file from the dummy file by the codes I have attached. Now what should I change to make salt shaker work again like before?

    Plugin Author Nagdy

    (@nagdy)

    Thanks @redwancou!

    It’s OK to post 1 or 2 stars when the plugin does not do what you used it for. But for issues like this (with any other plugin) try to post first in the support forums, there are awesome devs out there who are eager to help people.

    Regarding the code, this allows you to tell the plugin about the new config file location.

    In your case, you can use this code in your theme’s functions.php (add it at the end of the functions.php file of your theme/child theme)

    PLEASE: Take a backup of your website files and database before modifying any PHP files.

    function salt_shaker_new_file($salts_file_name) {
        $salts_file_name = '../wpsecret/wp-config';
        return $salts_file_name;
    }
    
    add_filter('salt_shaker_salts_file', 'salt_shaker_new_file');

    Hope that helps!

    • This reply was modified 3 years, 5 months ago by Nagdy.
    • This reply was modified 3 years, 5 months ago by Nagdy.
    Thread Starter Md. Redwan Hossain

    (@redwancou)

    The code works great. Can you share a php code which will just change my salt keys in every 24 hour? One of my site is hosted in very cheap server hence I want to use bare minimum plugin there. It will be very much helpful for me. Thanks. ??

    Plugin Author Nagdy

    (@nagdy)

    @redwancou this plugin is super lightweight and actually, the code that changes the keys every 24 hours is the same code that changes it for the other intervals. The difference is just a couple of lines and this does not add any load on the server.

    Another thing, keeping the plugin will benefit from the updates just in case any improvements or WordPress compatibility are added.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Must have plugin for wp security.’ is closed to new replies.