How to change the wordpress database table prefix?
By default, wordpress database tables are created with the prefix wp_. However, you can change this value and create tables with any other prefix. Follow the steps below:
You need to do this before installation:
1) Open the wp-config.php file and write down the database name, username and password.
2) Now, scroll down and you will find this line:
$table_prefix = ‘wp_’;
Edit this line and change the wp to anything you want. For example:
$table_prefix = ‘rs_’;
This will create the wordpress tables with prefix rs_ instead of wp_.