Archived topic
formating off after going live
8 replies · Started by Liana Ghazarian on April 1, 2015
I went from localhost to live today and all the formatting, also the ones specific to generatepress are gone. I notice now there was an option to export generate press settings, but I didn't do it before migrating to the new hosting. I cannot connect to my old localhost site with its dashboard, only to myphpadmin. Is there a way to recover my generatepress settings? Or will I have to change everything manually?
Hi Liana,
How did you transfer the site from your localhost to your server? If you moved the database over (which you would have to in order to bring your content over), all of your GeneratePress settings would have come with.
I exported the SQL file from myPHP. Since the file was too big, i uploaded it via filezilla into my hosting directory. There was a wordpress database there and then the technician did the import of the sql file (I don't know why, but when i imported the zipped SQL file, the plugins were there, but no posts were present) . After that, i could log in to the site, but with the problem of formatting.
ok, so apparently, the sql file that is created when i do the export is missing some elements. It is not complete. I will try to understand what is going on.I am glad to know it has nothing to do with me not doing generatepress export specifically.
This plugin may be helpful: https://wordpress.org/plugins/duplicator/
It does everything for you when it comes to moving WordPress.
I wish I knew about it earlier. I have no idea how to go back to localhost now
Did you delete your localhost database after exporting it? Unless you specifically deleted it, it should all still be there.
I didn't delete it. It is still there. I tried to modify the config.php file on my hard drive, putting // ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'Real name as seen in php admin');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'root');
/** MySQL hostname */
define('DB_HOST', 'localhost');
But it is not working.
How did you export your SQL? You can't still just login to your localhost?