发布前,若步骤依赖主机商,我们会在至少两家平台各走一遍;否则在同一环境隔日执行两次。我们记录控制台报错、不同地区的界面文案差异,并在厂商调整按钮位置后立即更新文案。路径与截图每季度抽检。涉及 DNS、SSL 或付款时,我们确认回滚/补救选项,并链接到官方文档以获取权威表述。
phpMyAdmin → select your WP database → Export → Quick → SQL format → Go. Download the .sql file.
In destination hosting panel create a new MySQL database and user with ALL PRIVILEGES; note name, user, password, host.
phpMyAdmin on destination → Import → choose file → Go. Increase upload limits in php.ini if the dump is large.
Point DB_NAME, DB_USER, DB_PASSWORD, DB_HOST to the new database credentials.
Use Better Search Replace or WP-CLI search-replace with serialized-safe tools. never blind text edit of the SQL file for domain swaps.
Log in wp-admin → Settings → Permalinks → Save to regenerate rewrite rules.