Inplace migration is a process where you move your WordPress site to a new server or domain while keeping its content intact. This guide will walk you through the steps to perform an inplace migration using the All-in-One WP Migration plugin.
Step-by-Step Process
- Export the Database
- Login to your WordPress admin dashboard.
- Go to the All-in-One WP Migration menu and select “Export”.
- Choose “Database” as the export option.
- Click the “Export” button and save the exported database file to your local machine.
- Edit the /etc/hosts File
- Open the /etc/hosts file on your local machine with a text editor.
- Add an entry to point the domain name to the new IP address.
- For example, if your new IP address is 192.168.1.10 and your domain is example.com, add the line:
192.168.1.10 example.com
- Update wp-config.php File
- Access the wp-config.php file in the root directory of your WordPress installation.
- Add the following lines to define the new domain name:
define('WP_HOME', 'http://example.com');
define('WP_SITEURL', 'http://example.com');
- Save and close the wp-config.php file.
- Load the Website in Your Browser
- Open your web browser and navigate to the new domain name (e.g., http://example.com).
- This should load your WordPress site from the new server.
- Import the Database
- Login to your WordPress admin dashboard on the new server.
- Go to the All-in-One WP Migration menu and select “Import”.
- Upload the database file you exported earlier.
- The plugin will automatically detect and update the site URL and home URL during the import process.
- Verify the Migration
- After the import is complete, check your website to ensure everything is working correctly.
- Verify that all content, plugins, and themes are functioning as expected.
By following these steps, you can easily perform an inplace migration using the All-in-One WP Migration plugin. This process ensures that your WordPress site is successfully moved to the new server or domain without any disruptions.