Skip to content Skip to sidebar Skip to footer

How Can I Get an Html Copy of My Website to Upload to Another Webhost?

Transferring a WordPress website is relatively easy. Still, information technology may exist time-consuming depending on the number of files and the size of the database. For uncommonly big websites, the file transfer may have anywhere from a few minutes to more than an hour. Of form, this depends on how fast your Internet connection is.

Today, I'm going to bear witness yous how to transfer WordPress to a new host. Information technology doesn't crave a lot of programming cognition, just yous volition need to make a few small-scale adjustments. I'll become over those in a moment.

Creating a Backup Copy of Your Website

Any time you brand major changes to your site, information technology'southward always best to create a fill-in. This way, you have a method of recovery in case something goes wrong. The method I am sharing for migrating WordPress from one host to another creates this file.

Y'all have a couple of options bachelor to you for creating a backup re-create of the site. You can either use FTP programs similar FileZilla or the File Manager in cPanel. FileZilla is a useful tool, especially when it comes to troubleshooting.

In this tutorial, I am going to prove you how to use cPanel's File Manager to move the website. If you don't take access to cPanel, and then I would suggest using FileZilla.

Access your cPanel dashboard. In cPanel, click the "File Manager" tool in the Files section. Information technology may exist one of the first elements yous meet in cPanel.

File Manager

Access your WordPress website. This is unremarkably done when you lot click the "public_html" directory. However, you may need to select the correct folder if you apply a subdomain or another folder. For this tutorial, I'thou going to presume yous're moving your principal website in the public_html directory.

Public HTML

Click the "Select All" role from the toolbar.

Select All

Click the "Compress" function in the top right corner. Essentially, you're creating a Goose egg backup copy of the unabridged website using File Director.

Compress

When the compress window opens, click the "Nothing Archive" choice on the top.

Zip Archive

Scroll down to the bottom of the Compress window. Change the name of the Null file to "wordpressbackup." This will be the file you'll need to move your website.

Click the "Compress File(due south)" button to create the Goose egg file.

Compress Files

After a few moments, yous'll see a results screen displaying what files and folders were compressed. Click the "Close" button to leave the compressor.

Close

Select the wordpressbackup.zippo file and click "download." Salve this file somewhere yous tin easily find information technology. I usually shop files I volition demand on the desktop. This makes it easier to find when it's time to use them.

Download Zip File

If your website is uncommonly large, it may take a bit to end transferring the file to your reckoner.

Exporting the Database

Now that you have the website files saved on your computer, it's time to grab the database.

From cPanel, click on "phpMyAdmin" located in the Databases section.

phpMyAdmin

Find the database you desire in the left console and click it. If you lot only have one website, it should be the just one available. However, it's quite common for some site owners to have several databases for various domains.

phpMyAdmin Database

If you don't know your database, you tin detect it in the wp-config.php file of your website. You lot can use File Director to edit the file to find the database.

wp-config

After y'all access the database you want in phpMyAdmin, click the "Export" option in the toolbar.

Export

Leave the default options as they are and click the "Get" button to begin exporting the database.

Export Database

Relieve the file somewhere that is easy to access. Once more, I suggest placing information technology on your desktop.

Create Database on New Host

Afterward you've saved the SQL file to your computer, you lot'll need to create a database on the new website server.

Launch the "MySQL Database Wizard" from the new host.

MySQL Database Wizard

Follow the instructions to create a new database for your website. Have note of the database name, username and password you lot are going to utilise. This is utterly important as you won't exist able to access your website'due south content without it.

When you're set, click the "Create User" push to continue.

Create User

In the next screen, brand sure you lot check the box for "All Privileges." This is the access point for WordPress itself, and it needs the ability to access everything related to the database.

All Privileges

Coil to the bottom of the folio and click "Next Step" when you're set to build the database.

Next Step

Next, y'all'll admission your database through phpMyAdmin equally you lot did before. Later on you click on the new database, click the "Import" option in a higher place.

Import

Choose the SQL file you lot downloaded a moment agone. This is not the Zip file for your website. It is the file with a .sql extension.

Click the "Go" button once you're fix to upload your database.

Click Go

Uploading Your Site Files

Now, you lot'll need to upload your site files. If yous're using FTP, you lot can connect to the new server and upload them. If you're following forth with me in cPanel, here is how you lot practice information technology.

Access your site'southward directory by clicking "public_html" as you did earlier. This time, your directory volition be empty except perhaps for a cgi-bin folder. Click the "Upload" pick from the toolbar.

Upload Option

Select the wordpressbackup.zip file y'all made of your website. File Manager will immediately begin uploading it to your new web server.

Upload Zip

Go dorsum to your website's directory, and you'll see your .nada file uploaded. Select the file and click "Extract."

Extract

When the Extract window appears, make sure you lot have the correct folder in the text field. As long every bit you uploaded the .cipher file into your new website'southward directory, this should be correct by default.

Click the "Excerpt File(s)" push to unpack your website.

Extract Files

In one case the files have been extracted, y'all may have to refresh your view in File Manager. You can exercise this by leaving the site's directory and so go back into it.

Editing the wp-config.php File

Before you tin admission your website, in that location is 1 more matter y'all'll need to exercise. Recall when I said to write down the new name, user and password of the database? At present you'll need to put that info into the wp-config.php file of your site.

Select the wp-config.php file and click, "Edit."

Edit Config

In the file, you'll replace the one-time database information with the new proper noun, user and password you created a few moments ago.

Change Database Info

After you enter your new credentials for the database, click the "Save Changes" push on the superlative right.

Save Changes

You lot tin can at present access your website using the https://www.ggexample.com/wp-admin.php accost (supervene upon "ggexample.com" with your domain).

Verify Your Files

Before y'all deactivate your onetime hosting account, brand sure your website files and information copied over completely. Information technology's ameliorate to be safe than deplorable, and many hosts volition completely delete data when an business relationship is closed.

Have a glance at your:

  • Posts
  • Pages
  • Media Files
  • Plugins
  • Themes

It may be a good thought to compare your new site with your erstwhile one to make certain everything copied correctly.

Keep Regular Backups

It'due south always a practiced thought to keep regular backups of your website fifty-fifty if you don't programme on moving. It's a good way to ensure that yous don't lose your site's data in the event of a disaster. Always side with caution as it volition salvage you fourth dimension and possibly coin in the long run.

How often have you moved sites from one host to another in the by? Do you discover it easier to utilise FTP programs like FileZilla or congenital-in tools like File Manager?

spencerhazinge.blogspot.com

Source: https://www.greengeeks.com/tutorials/how-to-transfer-a-wordpress-blog-to-a-new-web-host/

Post a Comment for "How Can I Get an Html Copy of My Website to Upload to Another Webhost?"