Change DB Prefix
installed change db prefix plugin, can't login to wp admin (4 posts)

  1. dianabyron
    Posted 2 years ago #

    HELP! I did as suggested in Hardening WordPress and changed my database prefix to something other than wp_. I used the recommended official wp plugin "change db prefix", as I don't know enough yet to mess around with my databases manually. BUT once I activated the plugin, I got logged out of my wp-admin and cannot get back in again. And of course the catch-22 is, that I can't change the database back using the plugin unless I'm logged in to wp admin!!
    What do I do please?

    Is it possible that having Bulletproof Security activated somehow requires or calls to the databases by their old name?


  2. fwchapman
    Posted 2 years ago #

    Diana, after you use this plugin to change the database prefix, you have to manually edit your wp-config.php file to change the database prefix there as well.

    Can you try that and let us know if it solves your problem?

    Good luck,

    Fred Chapman

  3. dianabyron
    Posted 2 years ago #

    Hi Fred, thanks for replying. Before I got your answer, I did check that, and found that even though the "change db prefix" plugin documentation says it changes the wp-config.php, it had not. So I changed it manually and it works OK now. But I kept a copy of that changed wp-config.php in case I have to use it again....

  4. fwchapman
    Posted 2 years ago #

    Diana, I'm glad you were able to resolve the problem. A number of people, including myself, have asked the plugin developer to update the plugin so that it edits wp-config.php automatically. Aside from that, the plugin works really well. It does the hard part, which is updating the WordPress database correctly! -Fred

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Change DB Prefix
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic