Moving WordPress to a different hosting provider can be a difficult task. Following these steps will make this an easy process and prevent headaches in trying to figure out why your site doesn’t load after moving WordPress.
Step #1:Download Database backup and site files.
Next you will want to export the mysql database used by your WordPress website. You can do this through a tool called phpMyAdmin .
Once you download the latest files and database, you will not want to make any changes in your admin (including posts) until your site is transferred over.
Step #2: Update Paths and Database Connection
If you are using WP Super Cache, you will also want to update the path that is used on your new host that is listed in the /wp-content/advanced-cache.php file. If you do not do this, your site will probably display a blank page. That happened to me at one point and it was a pain in the ass in figuring out what the problem was.
Step #3: Upload the Files and Import the Database
Next, import the database backup file into the new database on your new hosting provider. Again, you can use phpMyAdmin for doing this.
Step #4: Test the Site
You will want to update your host file and point it to the ip address of your new website. This will make your browser load the website from the new hosting provider and you can preview how it looks as if your domain was loading from the new location. Follow the steps below to do this:
- Open up your hosts file in Notepad. In Windows Vista, it is located here: C:WindowsSystem32driversetchosts
- Add this line to the end of the file: PUT_IP_ADDRESS_HERE PUT_DOMAIN_ADDRESS_HERE
- Save the file and restart your browser. Load the domain that you put into that file and it should be loading from the new server. I like to upload a unique file as a double check to make sure things are loading from the new server.
Step #5: Make One Change in the Admin
If things look good at this point, you can update the domain to point to the new nameservers. That’s it you programing fool!
If you have any problems or questions, please post in the comments. Also, please share any additional tips you have with this process.
For Further Reading,
0 comments:
Post a Comment