Reputation: 91
I have a multsite wordpress running on server, i want to shift my site to another server. I downloaded complete file backup by filezilla ftp Also exported complete database.
Now i imported this backup to new server(Aws Lightsail) and also replace complete wordpress by this backup wordpress. But new url is displaying blank even after i changed site url etc in wp_option table.
Please let me know where i am lacking.
Upvotes: 3
Views: 679
Reputation: 1502
Here are the steps for moving WordPress or whatever another web app from one webserver to another webserver. Before you start you need to know the absolute path to your WP root folder. Write it down.
tar -zcvf mywp.tar.gz /var/www/mywp.com
and then download it; b) use some file manager from your hosting control panel (eg. cPanel, Plesk, DirectAdmin, etc) and compress your WP root folder from there and download.mysqldump -u [uname] -p db_name > mywp_db.sql
and then download mywp_db.sql; b) use phpMyAdmin if you have it in your hosting control panel or just somewhere installed. Pick from the left panel the right database and then on the right panel top menu pick "export" and from that page "GO" button. Download.C:\myfiles\wp_download\
/var/www/mywp.com
but it could be also for example /home/mywp.com or something else. Especially if the domain name doesn't remain the same.var/www/mywp.com
and info "Replace" enter home/mywp.com
and click "Replace" button at bottom right. If your domain name changed then do the same replace in all files from old domain name to the new one.mysql -u username -p database_name < file.sql
mywp.zip
and upload to WP root folder and unpack them there from control panel's web file manager or from command line unzip mywp.zip
chmod /home/mywp.com/wp-content
or from control panel's file manager or via any (S)FTP client.Upvotes: 2