Reputation: 1
I have taken backup from live WordPress site and installed locally using xampp. After setting db and WordPress files i unable to see the website. It is asking me to install fresh WordPress. Attached snapshot. Kindly help me out.
Thanks in advance.
Upvotes: 0
Views: 130
Reputation: 2011
You need to setup the url correctly in database. you can do using 2 ways
1) Change url using mysql query, so run below queries in to phpmyadmin
UPDATE TABLE wp_options SET option_value = "YOUR LOCAL SITE URL" WHERE option_name = "siteurl"
UPDATE TABLE wp_options SET option_value = "YOUR LOCAL SITE URL" WHERE option_name = "home"
2) Open the sql file in any editor and find the live site url with local url and save nad import in to database.
Upvotes: 1
Reputation:
I believe you should install the WordPress locally; then you should import the backup created. The below are the steps followed
Please have a look at the below link for more detailed information. https://premium.wpmudev.org/blog/move-wordpress-xampp/
Let us know if this helped. Thanks
Upvotes: 0