WordPress.org

Ready to get started?Download WordPress

Forums

Secret Key (3 posts)

  1. 4k
    Member
    Posted 6 years ago #

    Is there a trick to setting up the secret key in preexisting blogs?

    I tried on two different installs, one throws a t string error, and one accepted the key but came up with 'interesting' characters through the blog.

    Fortunately I saved the original config for both.

    Oh and I used the "random printable ASCII characters" site as recommended above by Otto

  2. eibhlin
    Member
    Posted 6 years ago #

    The same thing happened to me, but in my case, I'd put the secret key in the wrong spot in the code. That file seems to be very picky about placement!

    It was fine when I put the line in the wp-config.php file, in the blank area immediately after where it says:

    define('DB_COLLATE', '');

    I had success with WP 2.5 and WP 2.5.1 (I haven't tried it on earlier builds.)

    I hope that helps!

    Eibhlin
    co-author, Sites that Soar!
    http://www.SitesThatSoar.com/

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Look closely at the wp-config-sample.php file that comes with 2.5.1. It has an example showing you exactly the correct place to put it in the file. Emulate that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags