সোমবার, ৯ সেপ্টেম্বর, ২০১৯

How to Migrate WordPress from Live Server to localhost




A lot of people create a copy of their live site on local server to test new themes, plugins, or do development testing. This allows you to set up your theme with all your content and test all the features without worrying about breaking your site. Many users copy their site to local server to practice their WordPress and coding skills with actual site data.



Moving Live WordPress Site to Local Server using Plugin

Before you begin this you’ll need the following:
  • Fully developed WordPress website on your local server.
  • Installed and activated Duplicator/ Backup plugin on your local server. 
  • all in one wp migration> Export > Export to File> download and save. 
Manual Method: 

 some times being plugin not work properly. So we can get all wp data by manual method. 

Step-1: Go to your cPanel and find out the File Manager. 













Save the all files to ur site Folder




Database: 
















Go to Wp- options and change the site url to http://localhost/sitename.













Part-2

Now we made the new database for our local host.






 new data base has been created. now we import the server backup sql files. so goto import and upload it.



Ok work done. now we need the some modification on our backup files. we edit wp-config.php files there need 3-4 changed. select ur present/new database instead of previouse. keep it user name as root, and password blank. and db host local host. Bas!







 Now go to ur URL and access. live server r now in local host.






Tutorial: Youtube









0 comments:

একটি মন্তব্য পোস্ট করুন