WordPress.org

Ready to get started?Download WordPress

Forums

Change table prefix AFTER installation? (6 posts)

  1. sincewelastspoke
    Member
    Posted 4 years ago #

    I'm working my way through these tips: http://www.coolcreation.co.uk/website-design-blog/10-steps-to-protect-the-admin-area-in-wordpress/ across 5 different WP installs I have.

    Part 2 mentions renaming the table prefix from wp_ to something more random.

    Is this suggested as a way of securing WordPress?

    Also, would this effect my existing WP install in anyway. I'd planned to rename my tables in phpMyAdmin, then alt the wp-config.php file.

    Any tips?

    Thank you

  2. Mark / t31os
    Moderator
    Posted 4 years ago #

    It will help in some cases, in others it may make no difference at all.

    If someone wants to find out your db prefix all they need to do is generate a database error on any one of your pages that relies on a DB connection, and it'll more then likely give away the table name in the process.

    Granted it will make most hackers attempts that little bit harder (and stop the amateurs), but in all honesty i believe a determined hacker won't need to know what your prefix is, and if he does, he'll find another way to get it.

    Yes it helps to change the prefix, but it's not going to save you if your pages output tell tale errors, it'll slow down the hacking process by all of about 5 seconds for a smart hacker.

  3. t31os_ , True, it will stop most script kiddies and scanners, but not anyone who really wants to get in.

  4. Steve D
    Member
    Posted 4 years ago #

    Whats the best technique to fight them from being able to generate output errors?

Topic Closed

This topic has been closed to new replies.

About this Topic