1 / 5

How to Migrate a WordPress Website

To migrate a WordPress site could be an unpleasant experience if you do not know,how to migrate website on wordpress. you can consult our expert at 800-906-9571

wpsupport
Download Presentation

How to Migrate a WordPress Website

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HOW TO MOVE WORDPRESS SITE TO NEW HOST? Why i need to transfer wordpress site new host? We need to move our site to new host because we are facing problem to our current hosting provider. There are many reasons behind this problem like. Cost of hosting, storage problem, Service problem, etc. How can i do it myself without impacting website. There are several following steps are included in this process. Step1: Back Up Your Website’s Files This is the first and very important step of any project that you need to take backup of your site files. This is helpful in if you lost any kind of data then you can collect from your backup. •There are many tools are available for take backup like Filezila , WinScp,etc. •These are the tools which are connects your local directory to web directory.

  2. •There is another tool is called duplicator. This is the tool used for backup the site or files of worpress. This is the free plugin of WordPress you can download it. Step2: Export the WordPress Database Exporting your database is a simple process that only requires a few steps to complete. Login to the cPanel account of your web server and open the phpMyaAdmin application. Select the database that contains your WordPress installation from the list on the left hand sidebar and once 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 need. Click the Go button and the database export process will begin and a file will be downloaded to your local computer. Once the database export and the FTP transfer of your files have both completed, you are ready to move onto the next stage. Step3: Create the WordPress Database On Your New Host Server Before we can begin the migration to the new web host, we need to create an environment for a WordPress installation. To do this you must create a database that you can import your SQL data into. First you need to login with your new web host with your user id and password or with your user credentials. Your new host supplied you to the cPanel software, Which is way to reach your your database(MySql Database).

  3. And provides functionality to create database, create users,etc. The steps to create a database are quite simple: •Open MySQL Database and create a new database with an appropriate name for your website. •Create a new MySQL user (with a secure password). •Add this user account to the new database and grant it All Privileges. Write down the database name, the new MySQL username and its password. You will need them soon. Step4: Edit the wp-config.php File This step included some several steps or point for migrate your site to new host. 1.Change the Database name. Locate the following line: define(‘DB_NAME’, ‘db_name’); 2.2. Change the Database Username. Below this you will find the line: define(‘DB_USER’, ‘db_user’); 3.Change the Database User Password. Finally, edit the third line: define(‘DB_PASSWORD’, ‘db_pass’); As with the others the db_pass section of this line must be changed to the new secure password you created for your MySQL user. Save wp-config.php and close the file. Step5. Import Your Database.

  4. Now that you have a new database to work with we can begin the import process. Launch phpMyAdmin from the cPanel software on your new server and select your new database from the list on the left hands sidebar. Once it opens select the Import tab from the navigation menu. In the File to Import section click the Choose File button and select the SQL file you exported previously. Un-tick the Partial Import check box, make sure the format is set to SQL and then click the Gobutton. The database import will now begin. The time this import takes varies depending on the size of your database. You should receive a message informing you of the success of the import when it has finished. Step6: Upload The WordPress Files To Your New Host. Now your new database have prepaired with the help of above steps.And you have configured config.php in the above step4.Now the time to uploading your website to new host. Connect to your new web host using your FTP program and browse to the folder that your website is going to be held. If this is the primary, or only site being installed on this web server then uploading the files to the public_html folder is the usual directory. With the remote directory selected you can upload your website files that should now include the updated version of wp-config.php. As with the earlier download, this process can take some time. Don’t delete these files from your local computer once the upload finishes. They are still needed until the final steps have been completed. Step7: Linking to New URL & Defining New Domain. One issue people always seem to have when moving their site is that they’ve added links to other posts on their site or inserted images directly by pointing to a URL on the server, causing these to break when moved over to a new domain. And change the old url to your new site Url. Make sure you are running the search and replace on the new domain you are transferring the site to not the old one. Changing Site URL: By doing a search and replace for the old domain and replacing with the new domain you’ll also be altering the site_url and home url values in the database which will ensure that when you try to log into your site on the new domain it doesn’t try and redirect you over to the old domain. Step8: The Final Touches This step actually includes two separate things with (potentially) several days between them. Before you can use the site on your new host you will need to reconfigure your domain’s DNS settings. They will be set to point to your old host and you will need to point the correct records to the new server IP address. This process will depend on where you have your domain registered. The details of completing this process are too varied to discuss in this post, but your domain registrar should have all of the details you need to make this change.

  5. DNS changes can take up to 48 hours to fully propagate.It’s best to do this at a period when you expect lower levels of traffic. During this 48 hour window you should avoid making any changes to your website as you may be changing the old version of the site. After the 48-hour period has expired you should now be accessing the new web host when you go to your website. It’s at this point you can connect to your old web host to delete the files and database. You should still have a local backup copy of these files and the database export, along with the original wp-config.php file in case you need to roll back the migration. It can be a good idea to hold onto these files for a an extended period just to be on the safe side. You can directly call toll free: 1-800-906-9571 (US & Canada) Instant Chat Support. Visit: https://www.24x7wpsupport.com/wordpress-migration-services.php

More Related