WordPress is one of the most popular CMS platforms, and it's easy to migrate it to a VPS if you follow the right steps. Below we describe two methods: automatic (using a plugin) and manual (using files and databases).
Method 1: All-in-One WP Migration Plugin
- Install the All-in-One WP Migration plugin on the old site
- Export the full site as a.wpress archive
- Set up WordPress on the VPS (via Softaculous, WP-CLI, or manually)
- Install the plugin on the new site and import the archive
- After importing, update permalinks and verify the site
Method 2: Manual Migration
- Download all files from the
public_htmlfolder (via FTP/SFTP) - Export the database using phpMyAdmin or
mysqldump - Upload the files to the appropriate directory on your VPS
- Import the database and configure connection settings in
wp-config.php - If the domain changed, update the URLs using WP-CLI or an SQL query
Environment Setup on VPS
- Install Apache/Nginx, PHP 8.x, MySQL/MariaDB
- Install necessary modules:
php-mysql,php-curl,php-xml,php-gd, etc. - Set up an SSL certificate (Let’s Encrypt)
- Enable OPcache and caching (Redis, Memcached — optional)
Final Checks
- Visit all website pages to verify functionality
- Test contact forms, admin panel, and plugins
- Check your sitemap and SEO settings
- Disable debug mode and enable caching
← Back to Migration section
Want us to handle the WordPress migration for you? Contact Bit.Hosting support — we’ll take care of everything! 🚀
← Website & Data Migration to VPS