Hours & Info

+595 981 208229
Open: Mo-Fr 7am - 8pm
Closed: Sa, Su: ALL DAY

Intro

Hola Mundo.
Hello World.
Hallo Welt.
3 Steps: How to Setup and Move WordPress to New Domain or Host

3 Steps: How to Setup and Move WordPress to New Domain or Host

In today’s edition I will explain you how to move a WordPress site from one place to another, installing WordPress step by step is included in this sensational guide, made just so you can move your WordPress site to another server – with ease! This is REAL Wordpress installation Help. I will be explaining how transferring WordPress sites can easily be done with just 3 Simple steps.

What this is…

  1. This technique works if you are planning on moving WordPress from Subdirectory to root or vice versa.
  2. No WP Migration Plugin needed
  3. It is the simplest way of moving the website to new host
  4. No complicated WordPress install path
  5. No complicated WordPress install urls, nothing of the sort
  6. Forget Wordpress search and replace tools, this guide does not need you to do anything complex.
  7. One of the leading Wordpress domain transfer guides, without the need of a Duplicator plugin or the sort
  8. Your personal WordPress install package
  9. Moving WordPress installation from A to B

What this is not…

  1. A one click installer for WordPress (When you want to know how to install WordPress through cpanel) for this you can just use Softaculous if your hosting plan has it, but like I said, this tutorial is not about that.
  2. How to upload WordPress via ftp
  3. How you can transfer and migrate from WordPress.com to WordPress.org (switching)
  4. How to move and migrate blogger to WordPress
  5. A plugin such as “WordPress Mover”, “Duplicator” or “WP Migration”
  6. A guide how to install a Wordpress script
  7. WordPress Multisite migration
  8. A tutorial on Wordpress database search
  9. Explanation on How to Setup WordPress locally

If you wish, we can call this the wordpress five minute install, so let’s do this!

Prerequisites

  • An existing domain.com (your website, which you want to move)
  • A newdomain.com (where you want to move your site)
  • A wish to relocate wordpress or move from local to live (developer environment to productive) by just copying

Step 1: The Backup

The File Backup

  1. Login to your current site (I assume you have cPanel) for example http://yourhosting.com/cpanel or it could also be something like http://server.login.com:2083 , every host is different.
  2. Click on the “File Manager” (the icons might look different)
    2016-01-12 01_40_29-cPanel X - Main
  3. Go to your “/public_html” folder or the one where your blog files are, it can also be “/public_html/blog/”
    2016-01-12 01_42_15-cPanel File Manager v3
  4. Now mark all files and compress them into a “zip” file, name it “backup.zip”
    2016-01-12 01_49_14-cPanel File Manager v3
  5. Now double click the backup.zip file, it should start a download, that’s what we want (mine was 99MB)
    2016-01-12 01_53_05-cPanel File Manager v3
  6. Save it somewhere where you can easily find it later.

The Database Backup

  1. Find the Databases section, and click on “phpMyAdmin”
    2016-01-12 01_54_11-cPanel X - Main
  2. It will take you to the databases overview page, find your blog and export it (depending on the size, it can take quite a while, mine was 35 MB)
    2016-01-12 01_55_54-server.justhost.space _ localhost _ health_sd3r8t438 _ phpMyAdmin 4.0.10.7
  3. Save it somewhere where you will find it.

You should now have both files saved

Call the folder your “domain.com” name, it should look like this on your PC (if you are using Window):
2016-01-12 02_01_12-healthelite.co

Step 2: Uploading

I assume at this point you have already bought and set a domain, hosting and database and are ready to go with a clean, fresh environment!

The File Upload

  1. You should be Logged into your cPanel for the newdomain.com
  2. Click the “File Manager” and navigate to /public_html or where you want the site to be! (that folder should be empty, or at least have no other files such as index.html or similar)
  3. Press the “Upload” Button and get the “Backup.zip” file which we created earlier (Be aware that there might be limits as to how large the file size can be)
    2016-01-12 02_10_49-cPanel File Manager v3
  4. Now it’s waiting time, this can take a while depending on your i-net connection (If this does not work for you, try uploading via FTP)
    2016-01-12 02_12_25-cPanel File Manager v3
  5. Extract the “backup.zip”
    2016-01-12 02_14_20-cPanel File Manager v3
    2016-01-12 02_14_49-cPanel File Manager v3
  6. This is how it should look:
    2016-01-12 02_15_48-cPanel File Manager v3
  7. So far so good

The Database Upload

  1. I assume you are also Logged into the phpMyAdmin Panel for newdomain.com and have created a user, database and password already… (don’t forget to write those details down on the, we will need them in the coming steps)
    2016-01-12 01_54_11-cPanel X - Main
  2. Navigate to “Import” while you have the right database selected & pick the .sql file which you previously downloaded from your domain.com
    ATTENTION: The Upload limit here is set manually by me to 50 MB, in most cases you might have only 2MB or 8MB, use this tool below to make little parts from your big sql file: http://www.rusiczki.net/2007/01/24/sql-dump-file-splitter/
    2016-01-12 02_19_07-server.justhost.space _ localhost _ l41n_wp _ phpMyAdmin 4.0.10.7
  3. Here is how it should look after the Import
    2016-01-12 02_23_10-server.justhost.space _ localhost _ l41n_wp _ phpMyAdmin 4.0.10.7
  4. SQL Upload is done

Step 3: Changing Settings

What you want to do now is change all Settings from the Old Domain to the New Domain, and we want to make sure we don’t miss anything that is importat! The following 2 steps are the most important ones. Everything else is many times changed manually on sites or by plugins, so I suggest you get some expert help or message me if you are stuck.

HINT: We are still at the newdomain.com settings, we don’t need to touch anything over at the old domain.

wp-config.php Settings

  1. Go back to your “File Manager” and find the extracted files
  2. Find the “wp-config.php” file, right click -> “Edit”
    2016-01-12 02_34_40-cPanel File Manager v3
  3. A new window will open, replace the highlighted text with your settings:
    /** The name of the database for WordPress */
    define('DB_NAME', 'YOUR NEW DATABASE');

    /** MySQL database username */
    define('DB_USER', 'YOUR NEW USER');

    /** MySQL database password */
    define('DB_PASSWORD', 'YOUR NEW PASSWORD');

    2016-01-12 02_36_08-cPanel X
  4. Press “Save” on top
    HINT: If you are using additional Plugins, they might show additional URLs or Information, path, etc. inside the wp-login.php

phpMyAdmin URLs

  1. Let’s hope you still have that window open with phpMyAdmin, because we are going to need it now, click on the database again and find the “wp_options” table (it might be named different, depending on your settings)
    2016-01-12 02_41_31-server.justhost.space _ localhost _ l41n_wp _ wp36dg4_options _ phpMyAdmin 4.0.1
    Press “Edit” on the line where it says:
    siteurl
    home
  2. You have to change those 2 values to the newdomain.com and then press “Go”
    2016-01-12 02_48_50-server.justhost.space _ localhost _ l41n_wp _ wp36dg4_options _ phpMyAdmin 4.0.1
  3. Done.

Enjoy the results, you can now check your newdomain.com
It will work fabulous, just like mine which i transferred during this post!
This is probably one of the easiest ways to learn setting up WordPress without coding skills and without automated software, just with a plain simple how to install wordpress in cpanel edition.

If you need help with moving your site with wordpress, let me know!
I am here to help!

Leave a Reply