Forums

wp-config.php edits on upgrade question (3 posts)

  1. MouseClicks
    Member
    Posted 3 years ago #

    Hi there,

    I upgraded a WP site tonight to v 2.7.1. In the instructions for upgrading it says to take care w/the wp-config.php file and to compare the old & new and edit the new to match the old if they don't match. Further says sometimes coding has been changed in upgraded files. I get that part no problem. When I went to do a compare, I found that the old file has this:

    // Change SECRET_KEY to a unique phrase. You won't have to remember it later,
    // so make it long and complicated. You can visit //http://api.wordpress.org/secret-key/1.0/ (I added the // here to comment it out)
    // to get a secret key generated for you, or just make something up.
    define('SECRET_KEY', 'xxxxxxxxxx'); // Change this to a unique phrase.

    But the new 2.7.1 doesn't have this.

    I also found the new has this:

    define('AUTH_KEY', 'put your unique phrase here');
    define('SECURE_AUTH_KEY', 'put your unique phrase here');
    define('LOGGED_IN_KEY', 'put your unique phrase here');
    define('NONCE_KEY', 'put your unique phrase here');

    but the old doesn't and I could swear that I entered these unique phrases in every WP install I've ever done. When I download the file to my computer via ftp to have a look, these phrases are not there so I can't even use them to input them into the new config file.

    I left the existing wp-config.php file in the root of the site that I upgraded and things at least seem to be working ok. I do not have a clue what to do about this. Can anyone advise?

    Thanks,
    MC

  2. Samuel B
    moderator
    Posted 3 years ago #

  3. MouseClicks
    Member
    Posted 3 years ago #

    Thanks, samboll. No wonder I couldn't find it, I wasn't searching on the right phrases.

Topic Closed

This topic has been closed to new replies.

About this Topic