π Migrate a WordPress Site to Bit.Hosting VPS
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
Want us to handle the WordPress migration for you? Contact Bit.Hosting support β weβll take care of everything! π