I am using single database for multiple WordPress setups with separate prefixes for each.
But, I face problem when I am searching text in any single seup. It displays data from other setups also.
Like I have two setups ‘abc_project_name’ and ‘xyz_project_name’. And, I am searching for any text in project with ‘xyz_’ prefix. But data is displaying from ‘abc_’ also.
Can you please fix this using ‘$wpdb->prefix’ to separate each setup as individual.
- The topic ‘Single database with multiple setups’ is closed to new replies.