I am starting to implement security features on a client’s website and so I would like to change the WP database prefix. However, the website is a multisite installation (WPMU) and so changing the prefix like you would normally does not work and I do not want to manually change the wp-config files for each sub-site (i.e. I will not be monitoring the sub-site creation).
I tried using the database prefix change option on the All in One WP Security plugin too but no luck.
Does anyone know how to go about this? Any thoughts would be appreciated.
The website is running WP 3.6
Just call the following function but make sure to change new_prefix with whatever table prefix you want to add and also check whether config file path is correct at your side, i have used find_wp_config_path() function to find it but sometime it may return null.
or you can directly use this plugin http://wordpress.org/plugins/change-table-prefix