Moving Your WordPress Site to a New Host: A Step-by-Step Manual Guide
Migrating your WordPress site to a new host manually might seem daunting, but with careful steps and attention to detail, it can be a smooth process. Here’s a comprehensive guide to help you move your WordPress site to a new host manually.
1. Backup Your WordPress Site:
Before initiating any migration, it’s crucial to back up your entire WordPress site. This includes your website files, the WordPress database, and any additional files or folders you may have customized.
- Use a Backup Plugin: You can use a reliable backup plugin like UpdraftPlus or BackupBuddy to create a full backup of your site. These plugins often allow you to download the backup files to your computer.
- Export Your Database: In addition to using a backup plugin, export your WordPress database. You can do this using phpMyAdmin or a similar database management tool. Export the database to a SQL file.
2. Set Up Your New Hosting Account:
- Choose a New Hosting Provider: Select a new hosting provider that meets your requirements. Popular options include Bluehost, SiteGround, or any hosting provider that aligns with your needs.
- Set Up Your Domain: If your domain is registered with your old host, you can update the nameservers to point to your new host. If your domain is registered separately, update the DNS settings accordingly.
3. Transfer Your WordPress Files:
- Download Your Website Files: Access your old hosting account and download all your website files. You can use an FTP client like FileZilla to connect to your server and download the files to your computer.
- Upload Files to New Host: Connect to your new hosting server using FTP and upload your website files to the appropriate directory. This is typically the public_html or www folder.
4. Import Your WordPress Database:
- Create a New Database: In your new hosting account, create a new database and a user with full privileges. Note down the database name, username, and password.
- Import Database: Using phpMyAdmin in your new host’s control panel, import the SQL file you exported earlier. This will populate your new database with the content from your old site.
- Update wp-config.php: In the root directory of your WordPress files on the new host, locate the wp-config.php file. Update the database details (name, username, password) to match the new database.
5. Update Site URL and Permalinks:
- Update Site URL: In the WordPress admin dashboard of your new site, go to Settings > General. Update the WordPress Address (URL) and Site Address (URL) to reflect the new domain.
- Update Permalinks: Go to Settings > Permalinks and click “Save Changes” to refresh your permalinks. This ensures that your URLs remain consistent after migration.
6. Test Your Site:
- Check Site Functionality: Visit your new site and check its functionality. Test various pages, posts, and interactive elements to ensure everything is working as expected.
- Address Potential Issues: If you encounter any issues such as broken links or missing images, address them promptly. Check that your theme and plugins are functioning correctly.
7. Update DNS Settings:
- Switch Nameservers: If you updated your domain’s nameservers to point to the new host during the setup, allow some time for the DNS changes to propagate. This step finalizes the migration.
Conclusion:
Moving your WordPress site to a new host manually involves careful planning and execution. Following these steps ensures a successful migration without the need for additional plugins. Always keep backups of your site, and thoroughly test your new site to catch and address any potential issues early in the process.