Migrating a WordPress site from Flywheel to Wordify can be straightforward, but Flywheel’s custom modifications to WordPress core files may cause issues like failed updates or critical errors. Follow these steps to ensure a smooth transition and resolve common problems.
Migration Steps
Backup Your Site: Before starting, create a backup of your Flywheel site using a plugin like Migrate Guru or All-in-One WP Migration.
Move Files and Database: Transfer your site’s files and database to Wordify via SFTP/SSH or a migration plugin. Wordify offers free migrations—contact support if you need assistance.
Fix Critical Errors: After migration, you might see a “critical error” due to Flywheel’s modified core files. Edit wp-settings.php and remove the line referencing .fw-config.php. Then, delete the .fw-config.php file from the root directory.
Update .htaccess: Flywheel’s default .htaccess isn’t Apache-compatible. Replace it with a standard WordPress .htaccess file suited for Wordify’s Apache-based environment.
Reinstall Core Files: To resolve update issues, manually edit wp-admin/includes/file.php. Replace the copy_dir function with standard WordPress code (find it on WordPress.org). Then, go to Dashboard > Updates and click “Re-install Version” to refresh core files.
Solving the “Automated Update Failed” Error
Flywheel’s use of fcp_copy_dir() in file.php can break updates on other hosts. After migration:
Check your PHP error log for “undefined function fcp_copy_dir()”.
Replace the modified copy_dir function as noted above.
Reinstall WordPress core files via the dashboard to eliminate Flywheel’s customizations.
Final Steps
Test your site to ensure plugins and themes work correctly.
Update DNS settings to point your domain to Wordify’s servers.
For a hassle-free experience, let Wordify’s support team handle the migration for free.
Related Articles and blogs: