I upload my website to the server and I changed the website url and home from localhost to mysite url. But it still is in localhost if I turned off wampserver it won’t show the website. Just show me when wamp server is on.
By the way I use wordpress cms.
What should I do?
any help will be appreciated
You have to do the following steps:
/PATH_TO_WORDPRESS/wp-content/uploads)mysqldump --host=localhost --user=[your mysql username] -p [your database] > transfer.sqlSo if your username is user1 and your database name is database1 the command would bemysqldump --host=localhost --user=user1 -p database1 > transfer.sqlYou could name transfer.sql whatever you want, but it must end .sql.mysql --host=[whatever your host is] --user=[your user name] -p [your database] < transfer.sqlThis will refresh your site with the latest posts and content.Your site should be good to go. Is your local machine Windows or Mac/Linux? The instructions for transferring files are a little different. Let me know and I will update accordingly.
Oh and do not forget to look at WordPress’s codex for moving your site: Moving WordPress