- Newest
- Most votes
- Most comments
Migrating a large WordPress multisite environment to AWS Lightsail is possible, but it requires careful planning and execution. The approach you're taking of manually transferring files and database content is generally correct, but there are a few things to consider:
-
File Permissions: The issue with the theme not showing up in the multisite dashboard could indeed be related to file permissions. Make sure the transferred files have the correct ownership and permissions. Typically, WordPress files should be owned by the web server user (often www-data) and have permissions set to 644 for files and 755 for directories.
-
Database Import: For a large multisite with over 200 subsites, you'll need to ensure your Lightsail instance has sufficient resources to handle the database import. You may need to increase PHP memory limits and MySQL configuration parameters temporarily to accommodate the large import.
-
wp-config.php: Ensure your wp-config.php file is properly configured for the new environment, including database credentials and any multisite-specific settings.
-
File Transfer: For transferring large amounts of data (3GB in your case), consider using a file transfer tool like SCP or SFTP for efficiency and reliability.
-
DNS and URL Updates: After migration, you'll need to update DNS records and potentially adjust URLs in the database to reflect the new Lightsail environment.
-
Plugins and Themes: Ensure all necessary plugins and themes are present and activated in the new environment.
-
Testing: Thoroughly test the migrated site, including all subsites and custom post types, before pointing live traffic to the new Lightsail instance.
To resolve the specific issue with the theme not appearing, try the following:
- Check file permissions and ownership.
- Verify the theme is in the correct directory (wp-content/themes/).
- Ensure the theme is network-activated if it's a network-wide theme.
- Clear any caches, including WordPress object cache and browser cache.
If these steps don't resolve the issue, you may need to investigate further by enabling WordPress debug mode and checking server logs for any errors.
Migrating a large multisite to Lightsail is challenging but achievable. Take your time, document each step, and don't hesitate to reach out to AWS support if you encounter persistent issues.
Sources
how import website to aws lightsail using updraftplus ? | AWS re:Post
Migrate your WordPress blog to Lightsail - Amazon Lightsail
Community | Migrating to WordPress on AWS Lightsail for Easier Maintenance
Relevant content
- asked 7 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago