HomeWordPress

How to Migrate Your WordPress Site

How to Migrate Your WordPress Site
Like Tweet Pin it Share Share Email

In the contemporary world where blogging is a lucrative business almost everyone is aware of WordPress. WordPress is a blogging platform that is owned and hosted online by Automatic. It is run on WordPress, an open source software used by bloggers. WordPress is although a blogging platform but it’s not just a blogging platform. WordPress has evolved throughout the years into a versatile Content management system. As a user we can create a simple blog, now it even allows us to create fully functional websites and mobile applications. The most integral and awesome part about WordPress is that it’s easy to use, lucid flexible and creative. That’s the main reason why WordPress has grown so much in popularity. This is according to a recent survey; WordPress powers 22.5% of all websites on the Internet. WordPress is a free software. An individual is free to download, install, use and modify it. It is also an open source which means the source code of the software is available for anyone to study modify and play with. There are currently over 2600 WordPress themes and over 31000 plugins available for free. To successfully run WordPress, all we require is a domain and web hosting.

However, one if the most daunting experience is site migration. Moving a website to a new host can be exasperating, but it does not need to be. Numerous people are faced with the need to move to a new host because of problems with their current provider and have just had enough. But all too often migrating to a more reliable host is delayed time and again for fear of making a mistake and damaging the site. In order to get around the problem, people will either pay a professional to move their site for them, find a new host that offers service as a part of a new hosting package, or take the third option of having a go at it themselves. However it can be a very straightforward project to handle. The following article will coherently elucidate the steps to migrate a WordPress sites to a new host.

Series Of Steps :

    1. Backup – Backing up of website files is crucial. This step is good practice before any major change but it is also a requirement of migrating your WordPress installation. There are numerous plugins out there that will completely backup the site. It though requires a more manual approach. We need to use an FTP program, connect our web host and copy all files under our web site’s directory on a folder on your local computer. This basically includes the. htaccess file that is set to be hidden. We need to consult our FTP program’s help file to have it display the hidden files if we are unable to see this file. Depending on the number of media uploads we have on our site, this can take some time.
    2. Export the Database – Exporting of database is a simple process that requires few steps to complete. We simply need to log in to the cPanel account of our web server and open the phpMyAdmin application. Then we need to select the database that contains our WordPress installation from the lost on the left hand sidebar and one selected click on the export tab on the navigation menu. The default settings of a Quick export and the SQL format for the export are sufficient for what we require. We need to click the go button and a file will be downloaded to the local computer. Prior to moving to the next stage we need to ensure the transfer of files and the FTP both are completed.
    3. Create the WordPress Database on your new host server – Prior to migrating to the new web host, we need to create an environment appropriate for a WordPress installation. In order to do this successfully database is to be created so that SQL data can be imported into it. Then we need to login to the new web host with the user credentials supplied and connect to the cPanel software. Here consider the MySQL Databases is considered. If the host doesn’t have that application running then team should be contacted. In order create a database we need to open MySQL Database and create a new database with an appropriate name. A new MySQL user with a secure password is to be created. Then this is to be added to the new database and grant it all privileges.
    4. Edition of the wp-config.php file – We now need to browse to the folder on our local computer where we downloaded all the website files to. In that particular folder there is a file called wp-config.php that controls the access between WordPress and the database. We need to essentially make a copy of this file and store it in another folder on our local computer. It’s vital for restoring the changes. Then we need to open the originak version of the file with our favorite text editor and make certain changes. We need to change the database name, user name and password. Specific for the password. The password should be charged to the new secure password we created for the MySQL user.
    5. Importing of the Database – After the former procedure, we need to launch phpMyAdmin from the cPanel software on our new server and select the database. Then we need to select the import tab once it opens from the navigation menu. In the file to import section we need to click the choose file button and select the SQL file we exported earlier. We need to Un-tick the partial import check box, make sure the format is set to SQL and then click the Go button. The time taken for this import varies depending on the size of the database. A message will be received on the success of the import once it is finished.
    6. Uploading the WordPress files to the new host – After having the database prepared and the reconfiguration. It is time to begin uploading the website files. We need to connect to our new web host using the FTP program. With the selection of remote directory, we can upload the website files which should include the updated version of wp-config.php.
    7. Linking to new URL and defining new domain – An issue people mostly seem to have when moving their site is that they’ve added links to other posts on their site or insert images directly by pointing to a particular URL on the server. The following creates a break moving to a new domain. In order to quickly and easily get over with the task of replacing Search Replace DB script is very useful. Then by doing a search we need to replace the domains altering URL and home URL values.
    8. Integral finish ups – This include two broad things. Reconfiguration of the domain’s DNS settings. They will be set to point the old host and we need to point the correct records to the new server IP address. DNS changes can take up to 48 hours to fully propagate.

    Therefore we come to an end breaking down site migration at its simplest. The procedure is presumed difficult however it is not. Precariousness is needed while successfully getting through with the mentioned steps. And this should allow independence in the migration of the WordPress site.

    If you have any query or doubt please write the same in comment section. If you like it don’t forget to share.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: