mercredi 4 mars 2015

2 website 1 database... Local to online


I've two wordpress websites : - One online in FTP folder "www", for this website everything's ok ! - The second website is on localhost for the moment.


I would like to put the second website on the same database that the first "coreevenuh" but with table_prefix different "wp2_" What the step I've to follow ?


I've try many options but no way...


Here are the steps I've followed: -Download .sql local database -Open .sql local database, change every wp_ to wp2_ , every localhost/wordpress to domainname.com (my domain name). -Go on phpmyadmin.ovh to import my .sql, so I've every tables with wp2_ -Open config.php, change nothing from the first website online, just $table_prefix = 'wp2_'; -Upload every files on Filezilla in www2 folder.


Please tell me what I'm making wrong, I've a problem with profile when I want to connect to wp-admin...





Aucun commentaire:

Enregistrer un commentaire