Changing db table prefix for child sites in wordpress multisite network
-
Hi there,
i am using wordpress multisite for microsites i need to know if we can change the prefix named to my site name for eg: if my site network is localhost/rpms/ and i have added child site i.e localhost/rpms/shiekhenterprise so it creates additional database tables in the backend by using below prefixrpms_2_commentmeta
rpms_2_comments
rpms_2_layerslider
rpms_2_links
rpms_2_options
rpms_2_postmeta
rpms_2_posts
rpms_2_termmeta
rpms_2_terms
rpms_2_term_relationships
rpms_2_term_taxonomyas you can see a prefix with ‘2’ i need to remove it and instead using 2,3,4,5… for new sites i need that it should place a prefix of the site name i.e rpms_shiekhenterprise_commentdata and so on how could it be possible as i am wordpress by default use numbers for adding prefix but how we can use name instead of numbers in our child sites prefix i shall be thannkfull for your help
Kind Regards
- The topic ‘Changing db table prefix for child sites in wordpress multisite network’ is closed to new replies.