I'm not a programer I just play around html and css. Few weeks ago I was asked to make a Wordpress site for a friend. Thinking that the best idea would be to do it on XAMPP and then move it to live, I worked on it for quite some time.
Just when I was about to finish, something happened with powersurge and my computer got totaled, motherboard, graphics, power, all fried, all except for hard disc that somehow survived.
Now I got a laptop and new XAMPP instalation, but I have no idea how to transfer site from my old Hard disc to new. Any ideas?
Thanks in advance!
Usually(default) xampp is installed on the C drive, you can find it at:
C:\\xampp\\
projects are stored in the htdocs
file inside of that, move the project(or projects if you have multiple) in its entirety from the old htdocs file to the new one.
从
C:\\XAMPP\\mysql\\data
获取MySQL数据文件,然后按照此处的说明进行操作
You can do this by following this steps:
1) copy your site from c:/xampp/htdocs/[copy your site name folder] (before just check that your xampp install in which drive. common is C drive).
2)export database from phpmyadmin type in URL : http://localhost/phpmyadmin/ then select your database and export it.
3)paste your folder in new PC's xampp/htdocs
4)import your database in your new Xampp.
I tried this way and its working good.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.