adsense

How to Change the WordPress Prefix Post Installation





1. Log in to the Web hosting account where you have installed WordPress. Open your FTP program or your Web server's file manager.
2. Open 'wp-config.php' in the FTP or manager. Change '$table_prefix = 'wp_';' to '$table_prefix = 'newprefix';,' where newprefix is your updated WordPress table prefix. Save the changes to this file to make it live on your Web server.

3. Open your MySQL database in PHP My Admin or a similar software provided by your Web hosting company. Type 'Rename table,' a space and the table name. Follow this with another space, 'to,' another space and the table name with your new prefix appended to it. For example:Rename table wp_name to newprefix_nameClick 'Go' to execute this command.
4. Search for the 'options' table in your database. The options table should now be appended with your new prefix. Open this table and click 'Edit' next to 'wp_user_roles.' Change the 'wp' in this entry to your new prefix. Do the same thing with the usermeta field.

Comments

0 Responses to "How to Change the WordPress Prefix Post Installation"

Post a Comment

Popular Posts

About