Importing an exported WordPress site is a straightforward process that allows you to transfer your website's content and settings to a new location. Here's how to do it:
1. Download and Export Your WordPress Site
- Exporting: Go to Tools > Export in your WordPress dashboard. Select "All content" and click "Download Export File." This will create a
.xml
file containing your posts, pages, comments, custom fields, and other website data. - Downloading: Save the
.xml
file to your computer. This is the file you'll use to import your website.
2. Prepare Your New WordPress Installation
- Install WordPress: If you haven't already, install WordPress on your new hosting account.
- Create a Database: You'll need a database to store your imported website data. Create a new database in your hosting control panel and note the database name, username, and password.
3. Import the Exported File
- Access the Import Tool: In your WordPress dashboard, navigate to Tools > Import. Click "WordPress" to install the importer plugin.
- Upload the File: Once the plugin is activated, click "Run Importer." Upload the
.xml
file you downloaded earlier. - Map Users: The importer will ask you to map your old users to new users on the new site. If you're migrating the site to a new domain, you'll likely need to create new users.
- Import: Click "Submit" to begin the import process. This may take some time depending on the size of your website.
4. Import Additional Files (Optional)
- Media Files: If you have media files (images, videos, etc.) stored separately, you'll need to upload them to your new WordPress site.
- Themes and Plugins: You can also import your themes and plugins from the original site. However, it's best to check for updated versions of these files before uploading them.
5. Verify the Import
Once the import is complete, visit your new WordPress site and make sure everything is working correctly. Check your pages, posts, comments, and other content to ensure it has been transferred successfully.
Important Note: Importing a WordPress site can be a complex process, and there are several factors that can affect the outcome. If you're unsure about any part of the process, it's always best to consult a WordPress developer or seek help from your hosting provider.