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.php
file and run (re) installer, which made a newwp-config.php
file.I also had to edit
wp-config.php
file for converting the site addresshttps://codex.www.ads-software.com/Changing_The_Site_URL
After that
wp-login.php
worked, 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.www.ads-software.com/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.www.ads-software.com/WordPress_Default_Themes
Site worked sill, but when I upgraded WP to the version 5.0.2 by copying
wp-admin
andwp-includes
folders 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://www.ads-software.com/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.