Here it is.
1. Take a back up of both DB and complete files from your local host (just to be safe).
2. Create a DB in clients server.
3. Move all files from localhost to client server root folder (or any folder as per the requirement) using FTP or control panel which one is available. Also import the local DB dump to clients server DB.
4. Change settings in wp-config.php file as per the clients DB details. That is change DB name, username, password and hostname. Host name is normally ‘localhost’.
5. Update ‘home’ and ‘siteurl’ fields in ‘wp-options’ table with new sites url.
That’s all, you’re done!!!
If you don’t have access to client’s server, share your DB dump and files with the client and ask them to do from step 2 to 5.
Try this!!! Good luck.
That’s all, you’re done!!!
Not quite 🙂
– log into the WP dashboard on the new location and install and run this plugin to update the URLs (menu links, media paths, etc.):
http://wordpress.org/plugins/velvet-blues-update-urls/
— select all options EXCEPT the last option (GUID)
– there may be URLs stored in the database as serialized strings so I always run this script to handle those (the above plugin does not do them):
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
– after running the plugin and optionally the script, go to Settings > Permalinks and just Save.
Now you’re done 🙂
Dear 2ninerniner2,
Yes, you’re right. I didn’t remember the contents and files inserted to the content. Thank you for reminding me and I hope hc4zrr324 will consider that too.