joshkadis
Member
Posted 3 years ago #
Hi,
I'm going to implement some e-commerce on my existing WordPress site using Shopp (www.shopplugin.net), which has worked well so far on a private test site. But before launching the store, I want to change the db table prefixes on the live site from wp_ (I know I should have done this in the first place for security's sake)
I've taken these steps (thanks to Sherif Elsisi http://tinyurl.com/ytjpe7):
- Change $table_prefix in wp-config.php
- Change db table names, including tables created by plugins
- Edit wp_options and wp_usermeta
It worked for the core WordPress stuff, but not for some of my plugins. Is there anything I can do besides deleting and then reinstalling the plugins?
What about just deactivating then reactivating?
joshkadis
Member
Posted 3 years ago #
Would that recreate the plugins' tables with their existing entries and the new prefix?
Hard to say with looking at each individual plugin.
joshkadis
Member
Posted 3 years ago #
What about this:
- Export the old database
- Use a text editor to find-replace "wp_" with "newprefix_"
- Drop all the tables in the old database
- Import that database from step 2
Would that kill any WordPress functions?
Sounds okay. What can it hurt since you have a backup of the database.
joshkadis
Member
Posted 3 years ago #
A couple plugins had their settings revert to default, but overall it went smoothly.