Forums

Adding "Salts" when using automatic upgrades (4 posts)

  1. Roar
    Member
    Posted 9 months ago #

    Hi there,

    I am installing a new wordpress installation for someone else and I have just learned about "salts".

    I do not have this on my existing wordpress because I just keep doing the automatic upgrade from the dashboard each time I have upgraded.

    I think I would like the security of using the salts, I just do not know how to add them now.

    Do I need to do an entire manual upgrade with the next version or...?

    Thank you for your assistance.

  2. Big Bagel
    Member
    Posted 9 months ago #

    Do you mean the security keys/salts that you add to wp-config.php? If so, this page would give you the info you need. You just add what the online generator gives you to the indicated place in wp-config.php.

  3. Roar
    Member
    Posted 8 months ago #

    Thank you, so as I understand it, I can just add that to my config file

  4. Big Bagel
    Member
    Posted 8 months ago #

    Yes, they can be added to the config file whenever you want. In the file there should be a section prefixed with:

    /**#@+
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */

    That's were you want to add them.

Reply

You must log in to post.

About this Topic

Tags