• 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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-config.php edits on upgrade question’ is closed to new replies.