Ok. I will describe steps to fix. I use phpmyadmin to work with MySQL DB.
1. Install and activate WP-Testing plugin on primary website. (It will create all necessary tables)
2. In phpmyadmin export all tables wp_t_*
to *.sql
file. (I exported separatelly.)
3. In all *.sql
files replace text from wp_
to wp_X_
(X is the subdomain index, in my case it is 2)
4. In wp_t_passings.sql
file change wp_X_users
back to wp_users
. (Because WP use global users for all subdomains)
5. Restore *.sql
files in phpmyadmin.
6. Go to WP-Admin for subdomain and activate WP-Testing plugin.
Done.
-
This reply was modified 7 years, 6 months ago by miresru.