Upload a Local Host Site Siteground Wp

In this detailed tutorial, we will cover how you can manually migrate your existing WordPress site to SiteGround Hosting.
SiteGround provides is i of the best and economic solutions for hosting your WordPress site. If you don't have a SiteGround business relationship still you lot can signup using my referral link and you will become the lowest monthly prices available. SignUp to SiteGround.

In that location tin be a multifariousness of reasons for 1 to drift the existing WordPress site to SiteGround. I moved my site from Bluehost to SiteGround and also at times I accept a need to motility the site under development from localhost to SiteGround. In all these cases you can migrate the site files and database manually.

A quick disclaimer: Even though migrating your WordPress website to SiteGround is a fairly straightforward process, at that place is sometimes a slight chance of things going wrong. If this isn't something you lot can afford, you lot might want to expect into hiring a dedicated WordPress developer to handle the migration procedure for y'all.

Once y'all accept registered for the SiteGround account. The following are the steps to manually transfer your WordPress site.

Footstep i: Sign in to SiteGround

Assuming that you already have a SiteGround account. If non Register for SiteGround account first. Once you login to your business relationship motility to My Accounts Tab.

Once you are into My Accounts tab. If you take multiple websites select the site, move to the site for which you lot want to migrate your WordPress website.

Click on the 'Go to cPanel' push for the website for which you lot are migrating the WordPress site.

Go to CPanel Button SiteGround

Choose the option to access cPanel securely. Once y'all are into cPanel, y'all should see a webpage with a lot of dissimilar options to play with.

In the side by side step, nosotros will get-go with the migration stuff.

Step 2: Fix Files to Host

A WordPress site consists of two parts A filesystem and a database where your information is stored. In this step, nosotros will transfer all the files that are associated with your WordPress website. This includes WordPress core software, Media, Themes, Plugins, and many other files.

If y'all have your WordPress site hosted somewhere else you lot need to download all the files from that hosting, If you are migrating it from your localhost, become the directory and make a zip of the complete filesystem.

For case, in my instance, I am transferring the website from a local MAMP server to SiteGround. Thus I made a zippo of my complete site which is in MAMP/htdocs folder.

One time you have the zip folder we are at present set up to move it to the SiteGround Server.

Step 3: Upload Website Files.

In the cPanel, click on File Manager which is inside the Files section.

File Manager cPanel SiteGround

Go to the document Root for the site that you are working with.

cPanel File Manager Document Root option

Document Root of the site is unremarkably the directory named public_html.

Once yous are inside the File Manager, you lot should see a typical file manager toolbox with options on the superlative and directory structure like the image below.

Siteground File Manager Document Root

You might see a folder named .git, .well-known and cgi-bin inside the public_html folder if yous have never hosted a site on SiteGround before. If you had a site hosted on SiteGround before which you are trying to supplant you might encounter other WordPress folders such as wp-admin, wp-content, etc.

If you are replacing an onetime site, delete all the folders within public_html.

Now fourth dimension to upload the nil file of our new WordPress website.

Choose the upload option from meridian navigation box.

Choose the zip binder of your WordPress website to upload.

upload file cPanel WordPress

file uploading cpanel siteground

One time the zip folder is upload, move back to the file manager, select the zip file that you uploaded and select the Extract pick.

Excerpt the files to the public_html directory.

Extract option File Manager siteGround

extract to public_html

Note : Make certain the actual files are extracted to the public_html directory and not the folder that contains your WordPress files.

If there is a folder inside the public_html directory that contains all your WordPress core files, then move inside the binder, select all the files, right-click to select Motion. And motion all the files to the public_html directory.

Once the WordPress Files are uploaded, your public_html should expect like the paradigm below.

wordpress site inside public_html SiteGround

Swell Chore Done, We now have our WordPress website files hosted on the SiteGround server. In the next step, nosotros will deal with the database.

Step four: Prepare Database SQL to Host

Nosotros are now ready to deal with the second office of our WordPress website i.e. database. If you are moving your site to SiteGround from localhost or from some other host, We first need to export SQL file of the database which contains all your data that includes posts, comments, etc.

Open the tool that you use to manage the database. In my example, I am using PHPMyAdmin on my localhost provided by MAMP.

Select the database and cull the export option to export the database into SQL file.

export database from phpmyadmin

In one case y'all accept the SQL file exported for the website database, nosotros tin upload it to SiteGround Server, Which nosotros will encompass in the next pace.

Step five: Upload Database on Server

In the cPanel, databases department click on MySQL Databases.

databases section cpanel siteground

This will prove you lot all the databases that are currently created in your SiteGround account. If there are none, you can create a new database to connect with your WordPress site.

create new database siteGround

Once you accept the database created, we tin at present move to phpMyAdmin to import the SQL file.

phpMyAdmin cPanel

Once you are inside phpMyAdmin, select the database in which yous desire to import the SQL file. Click on the Import pick and select the SQL file that we exported in the last pace.

import sql file phpmyadmin

One time Imported, we can move to the next step where nosotros volition change the domain name of our website.

Pace 6: Alter Domain in Database

You don't need to perform this step if yous are migrating your site from the aforementioned domain.

If yous are migrating your site from a unlike domain or from localhost then you need to change the base URL in the database and as well change the URL domain in the posts.

Get to PhpMyAdmin SQL Tab and Run the following queries.

SQL Tab Phpmyadmin

          UPDATE wp_options Prepare option_value = supercede(option_value, 'http://world wide web.olddomain.com', 'http://www.newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET post_content = replace(post_content, 'http://world wide web.olddomain.com', 'http://www.newdomain.com'); UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.olddomain.com','http://world wide web.newdomain.com');        

Note: If you are even so testing your changes, and want to test changes via SiteGround IP address instead of the actual domain name. You can put your SiteGround IP in place of the new domain name.

Once yous successfully run these queries we can move to the next step.

Step 7: Connect WordPress Site to Database.

In this step, nosotros volition connect the two parts of the WordPress site filesystem and database. Become to the cPanel and select File Managing director.

Within the public_html folder, await for the file named wp_config.php and click Edit.

edit wp_config.php file siteGround

Alter the following property as per the SiteGround database.

          /** The name of the database for WordPress */ define('DB_NAME', 'your_database_name');  /** MySQL database username */ define('DB_USER', 'your_database_username');  /** MySQL database password */ define('DB_PASSWORD', 'your_database_password');  /** MySQL hostname */ define('DB_HOST', 'localhost');        

Step 8: Admission the Site via Domain Proper name or SiteGround IP.

That's All about how to migrate WordPress site to SiteGround. If you lot have DNS Setting of your Domain pointing towards SiteGround NameServers then you should be able to access the website via your domain name.

Related Articles

chatmanmusly1995.blogspot.com

Source: https://5balloons.info/migrate-existing-wordpress-site-to-siteground-manually/

Related Posts

0 Response to "Upload a Local Host Site Siteground Wp"

Postar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel