You have a working wordpress website on your localhost server and when you need to migrate or copy the same wordpress website to your live server, what should you do ?
To install a fresh copy of wordpress and put all the data again and again is very frustrating.
I think almost all the wordpress developers face this problem. I have a solution to this problem.
There is a very simple way to get rid of this problem.
You just need to download the SQL file from your database and make a copy of your wordpress website folder.
Now open the wp-config.php which is present at the root directory and write the database details you have for your live server.
You are all done. Just upload the folder through any FTP client and upload the database and enjoy your website fully functional like your local version.