DB Table Prefix Changer Plugin? Want to change "wp_" to something different (2 posts)

  1. gariben
    Posted 7 years ago #

    My sites are getting hacked and want to change the "wp_" table prefix.

    Does anybody know if such plugin exist to change table_prefix? I searched but couldn't find it.

    If it's not created, how long does it take (programmer hours?) I might get a freelancer to create a plugin.


  2. stvwlf
    Posted 7 years ago #

    the easiest way is probably to rename the database tables using PHPmyAdmin

    RENAME TABLE wp_posts TO xx_posts

    then update your wp-config.php file with the new prefix. you will see the line in it to change. that file is in the root folder of the wordpress install

    make sure you back up your database first

Topic Closed

This topic has been closed to new replies.

About this Topic