WordPress.org

Ready to get started?Download WordPress

Forums

Changing table prefixes in wp-config (6 posts)

  1. christyy
    Member
    Posted 4 years ago #

    I'm trying to enhance security for a new WP install by changing wp table prefixes as advised at http://tdot-blog.com/wordpress/6-simple-steps-to-change-your-table-prefix-in-wordpress.

    My question:
    Can I just change the $table_prefix = ‘wp_’; in wp-config.php since I have not yet run the wp installer? Or do I also need to manually make the changes described in #3-5 on the link above?

    I'm hoping that since I haven't yet run the installer, I can make the change in the config file and it will automatically create the new db tables with the specified prefix.

  2. whooami
    Member
    Posted 4 years ago #

    Can I just change the $table_prefix = ‘wp_’; in wp-config.php since ...

    yes.

  3. christyy
    Member
    Posted 4 years ago #

    Hmm. Just made the change in wp-config.php, uploaded it, ran the installer, and can't login to the new install. Never had that prob before. Are you SURE I don't have to manually edit other related files?

  4. whooami
    Member
    Posted 4 years ago #

    yes I am.

  5. christyy
    Member
    Posted 4 years ago #

    That's the only thing I did differently with the install this time so not sure what else to check. Will try a fresh install again tomorrow to test.

  6. whooami
    Member
    Posted 4 years ago #

    That's the only thing I did differently with the install this time so not sure what else to check.

    there is a whole support forum here thats chock full of other things to check.

    Will try a fresh install again tomorrow to test.

    ..cant wait.

Topic Closed

This topic has been closed to new replies.

About this Topic