← Back to Site Migration

Common Migration Issues and How to Fix Them

Even careful migrations can encounter problems. Here are the most common issues and how to resolve them quickly.

Database Connection Error

The most common post-migration error. Check wp-config.php (or your app's config file): database name must include the cPanel prefix (e.g., username_dbname), the user must exist and have permissions, and host should be localhost. Test the credentials in phpMyAdmin.

Images and Files Not Loading

If images appear as broken links, the files may not have been transferred. Check the wp-content/uploads folder in File Manager. Also check file permissions β€” they should be 644 for files and 755 for directories.

Redirect Loops

Caused by incorrect .htaccess rules or Cloudflare SSL mode set to "Flexible" with HTTPS-force rules. Set Cloudflare SSL to Full (Strict) and review .htaccess for conflicting redirect rules.

Email Not Working After Migration

After migration, MX records may still point to the old server. In cPanel Zone Editor, verify MX records point to mail.yourdomain.com on your new server. Also check email accounts exist in cPanel Email Accounts β€” they need to be recreated if this was a manual migration.

Was this article helpful?

On This Page