Converting old website into localhost website
-
From my backups found an old website, which have been unused since 2017. Just for testing I had to make a database and user and the import raw database via command line for that user (
sudo mysql -D database_name_here -o database_name_here < raw_database_name_here).After that I deleded
wp-config.phpfile and run (re) installer, which made a newwp-config.phpfile.I also had to edit
wp-config.phpfile for converting the site addresshttps://codex.ww.wp.xz.cn/Changing_The_Site_URL
After that
wp-login.phpworked, but I had forgotten user password, so I had to reset the password via phpMyAdmin.https://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/
An another tutorial can be found from https://codex.ww.wp.xz.cn/Resetting_Your_Password also
After resetting the password I was able to log in and the site worked. I disabled all plugins and installed default Twenty Ten WP Theme
https://codex.ww.wp.xz.cn/WordPress_Default_Themes
Site worked sill, but when I upgraded WP to the version 5.0.2 by copying
wp-adminandwp-includesfolders over the old ones, admin dasboard worked, but site got a grey or white death, depending on theme, so I downgraded WP to the version 4.7, and site worked again.https://ww.wp.xz.cn/download/releases/
Just out of curiosity, what causes these grey or white deaths?
The topic ‘Converting old website into localhost website’ is closed to new replies.