🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

How to Migrate a WordPress Website from Baota Panel to WP Panel

To migrate a WordPress website from Baota Panel to WP Panel, you only need to first create backups of the website and database in the Baota Panel backend, download them to your local machine. Then create a website in the WP Panel backend and restore the backup. This article will guide you through the process of restoring website data after reinstalling Baota Panel as WP Panel.

Step 1: Backup in Baota Panel backend

宝塔面板网站文件备份

First, go to the website list, click the backup column behind the website, manually back up the latest website files, and then download them to your local machine.

If you have multiple servers, you can also directly use the wget command on another server to download. If you don't know how, you can ask AI.

宝塔面板数据库备份

Then go to the database, create the latest backup for each database, and download them to your local machine.

Step 2: Reinstall the VPS system and install WP Panel

If you are not reinstalling the WP Panel on the current VPS, you can skip this step and go directly to Step 3 to restore the website data.

When reinstalling the system, choose the Debian 13 operating system, other systems are likely to have bugs.

You can reinstall in the server backend, or directly in SSH usingbin456789\/reinstall: One-click DD\/reinstall script (One-click reinstall OS on VPS)to directly reinstall a clean original Debian 13 operating system.

After reinstalling the system,SSH login to VPS, directly copy the following command and execute it, waiting for the WP Panel installation to complete.

apt-get update && apt-get install -y wget ca-certificates && wget -qO- https://raw.githubusercontent.com/naibabiji/wp-panel/main/install.sh | bash

Step 3: Restore the WordPress website and database

1. Create a Website

WP面板创建网站

LoginWP PanelWebsite managementAdd Website

In the website interface, fill in the primary domain. If you need to bind a www website domain, fill it in the additional domain field. Also check the option to apply for an SSL certificate. Click the Create button.

2. Restore website files

Wp blog

File management, select your backup file, then upload.

If your website has high traffic, it is recommended to delete the wp-config.php file from the installation files created by default when creating the website. Otherwise, visitors to your website will see the WordPress installation interface.

After uploading, extract your archive and directly overwrite the existing files.

Finally, click the „Fix Permissionsbutton.

3. Restore the Database

WP面板恢复数据库文件

Website Management → Website Details → Database Upload and Restore.

After uploading, click the „Fill in Database Information“ and „Change Password“ buttons in sequence.

If everything goes smoothly, the website should be accessible normally, and the migration is complete.

Note: This tutorial is applicable for restoring a website from Baota Panel to WP Panel on the same server, so no domain resolution operation is needed. If you are restoring to a different server, you need to resolve the domain and wait for it to take effect before successfully applying for an SSL certificate.

Optimization after restoring the website

With just three simple steps, you can switch your website from Baota Panel to WP Panel.

Now that you are using WP Panel, you must not miss the optimization features built into the panel.

1. WordPress Optimization

WP PANEL WordPress优化

Go to the website details page, find WordPress Optimization, enable Nginx FastCGI Cache, and install the accompanying optimization plugin. Go to your website backend and delete the previous caching plugin.

Additionally, if you did not uncheck the Redis Object Cache that was selected by default when installing the website, you can also enable this plugin and turn on database caching.

If you need to optimize CSS and JS compression, you can install Autoptimize.

2. Server Optimization

WP面板软件配置修改
  1. Go to the Software Management interface. In the upper right corner, there are configuration suggestions. Fill in appropriate values based on your server configuration.
  2. Go to Alert Settings, configure SMTP or Webhook push, so the server notifies you promptly when there are messages.
  3. If you have two VPSs, enable remote backup in the panel settings. If not, go toVPS Recommendationsand choose an inexpensive machine as a backup server.
  4. Enable automatic database backup in the website details page;
  5. Enable logging in the website details page. It is recommended to select "Only Exceptions" first. If the server is frequently attacked, select "Record All";
  6. Create scheduled backups for the website in Scheduled Tasks. You can back up every half month or every month. Incremental backup is recommended;

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: