How to Change WordPress Database Table Prefix?

The below mentioned steps will describe the procedure to Change WordPress Database Table Prefix.

#1. Change Table Prefix from File Manager

  • Login to cPanel and go inside File Manager section.
  • Get into WordPress installation directory.
  • Right click over the wp-config.php file and then Edit.
  • The editor page will open. Locate the line with $table_prefix = ‘wp’;
  • Replace the table prefix wp with the one you want.
  • Click over Save Changes.

#2. Change Table Prefix from phpMyAdmin

  •  Go inside phpMyAdmin section in cPanel.
  1. Check all to select all the tables and click over With Selected and then select Replace Table Prefix from the list of options. 
  2. A window will appear. In the FROM section, enter the old prefix and in the TO section, the new one.
  3. Click over Continue to save the changes.
  4. Click over GO to complete.

That’s It !

Refer to the blog to read in-detailed procedure.
  • change table prefix of WordPress database, change WordPress database prefix from phpMyadmin section, Replace Table Prefix, change WordPress database prefix from cPanel, update wp-config.php file to change table prefix of WordPress da, change table prefix of database, change WordPress database prefix from File Manager section, change WordPress database table prefix
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Fix WordPress error “There has been a critical error on your website”

Step::1 First of all login to your cPanel and go to File ManagerStep::2 Go inside public_html and...

How to Stay Logged in for a longer period in your WordPress?

Step::1 First of all you must know the theme which is currently activated in your website. So...

How to bulk delete spam comments in your WordPress website?

Step::1 Login to your cPanel and click on File Manager sectionStep::2 Go to public_html and then...

How to Change WordPress logo in wp-admin page?

Step::1 Login to your cPanel and go to File Manager sectionStep::2 Now go to Public_html Step::3...

How to Change WordPress Admin Username?

Step::1 Login to your WordPress dashboardStep::2 Now at the same time login to your WordPress...