“The site loads” is not a smoke test. A site can load and still have broken checkout, broken contact form, missing images on internal pages, or a search that returns nothing. The actual smoke test is twenty to thirty minutes of structured verification — done before DNS cuts over, ideally on a hosts-file override, so you find problems while you still have time.
What’s happening
Migration touched files, the database, the URL space, possibly the PHP version, possibly the web server (Apache to LiteSpeed). Each of those is a potential break point. Smoke testing systematically exercises each layer so you discover the broken thing before users do.
How to verify
Set up a hosts-file override pointing the production domain at the new server IP:
# /etc/hosts on your laptop
198.51.100.10 example.com www.example.com
Restart the browser, browse the site. You’re now seeing the new server while the rest of the world still sees the old one. This is your testing surface.
The fix
The smoke test, in order:
-
Homepage. Loads, looks right, no console errors, no broken images.
curl -I https://example.com curl -sS https://example.com | head -20200 OK, content present, no PHP warnings in the output.
-
One inner page from each top-level section. Articles, products, About, Contact. Each should load and look like the old site.
-
Admin login. Browse to
/wp-admin/, log in. Dashboard renders. No critical errors. Plugins page shows the same active plugins as before.wp user list --role=administrator wp plugin list --status=active -
Settings sanity check. Settings > General has the correct siteurl. Settings > Permalinks has the right structure. Settings > Reading has the right homepage. Settings > Discussion has the right email.
-
Media. Open any image-heavy article. All images load (no 404s). Visit
/wp-admin/upload.php— the media library shows recent uploads. -
Search. Use the site search to find a known piece of content. If results are missing, the search index isn’t built (most WordPress sites use database
LIKEqueries, which work immediately; some use a search plugin with its own index that needs rebuilding). -
Forms. Submit the contact form. Confirm you get the email. If you don’t, SMTP is broken — check
wp-config.phpconstants and the SMTP plugin settings.wp eval 'wp_mail("you@example.com", "test", "test body");'If WP-CLI returns true but no email arrives, the mail server is accepting and dropping. Check the cPanel mail log.
-
E-commerce (if applicable). Add a product to cart. Cart page loads. Checkout page loads. Submit a test transaction in sandbox mode. Confirm the order email arrives.
For Stripe/PayPal sandbox, the keys in production-versus-staging usually differ — confirm the right keys are active.
-
Scheduled tasks. Check WP-Cron and system cron:
wp cron event list --due-now crontab -lNo backlog, system cron firing.
-
Caching layer. If LiteSpeed Cache is active, confirm cache headers:
curl -I https://example.com | grep -i 'x-litespeed'First hit may be
miss, second should behit. -
Redis / Memcached. Confirm object cache is engaging:
wp redis status -
HTTPS and HSTS. All resources load over HTTPS. No mixed content warnings in the browser console. If HSTS is configured, the header is present.
-
Robots.txt.
/robots.txtreturns the right content. Check there’s no leftoverDisallow: /from a staging environment. -
Sitemap.
/sitemap.xml(or the path your SEO plugin uses) renders. Submit to Search Console if it’s been resubmitted. -
Error log monitoring. While clicking through, watch:
tail -f ~/public_html/error_logAny PHP warning is acceptable on a busy site. Any PHP fatal is a stop-the-migration moment.
-
External integrations. Any plugin that calls outside (Google Analytics, Mailchimp, CRM webhooks) needs verification. Trigger the integration and confirm the data lands on the other side. Many integrations whitelist the source IP, which is different on the new server — verify each.
-
Performance baseline check. Run the same TTFB/PageSpeed test you ran before migration. New numbers should be at least as good. If they’re worse, investigate before cutover.
Only when every check passes does DNS cut over. For environments where this kind of disciplined verification is the norm, Stack Harbor handles migrations and smoke testing under migration.
Stack Harbor operates production WordPress at scale — see enterprise WordPress support for the managed model, or book a WordPress consult for a written read of your current shape.