WP Squared

Use staging sites in WP Squared

Create a staging copy of a WP Squared site, test updates or redesigns privately, and publish the changes to the live site without breaking orders or content.

IntermediateWP Squared3 min read

A staging site is a private copy of your live WordPress site. WP Squared can create one for you, so you can try a new theme, a big plugin update or a PHP version change without visitors seeing anything break. When you are happy, you publish the changes back to live.

Before you start

  • Access to the WP Squared dashboard from MdmHost dashboard → Services.
  • Enough disk space for a second copy of the site, including its media.
  • A plan for what you want to test, so the staging copy does not drift too far from live.

Create a staging copy

  1. Open the WP Squared dashboard and select the live site.
  2. Choose the option to create a staging site.
  3. Confirm. WP Squared copies the files and database and gives the copy its own address.
  4. Open the staging site from the dashboard and log in to its WordPress admin.

A banner or different address makes it clear you are on staging. Check the address bar before making changes, so you never edit live by mistake.

Keep staging private

  • Make sure search engines are discouraged on staging under Settings → Reading.
  • Stop staging from emailing real customers: disable newsletter or order email plugins, or set your SMTP plugin to log emails only.
  • Do not connect live payment gateways on staging; use their test mode.

What to test on staging

ChangeWhat to check
Major plugin updateKey features of that plugin, forms, checkout
New theme or redesignEvery page template, menus, mobile layout
PHP version changeDebug log for deprecated and fatal errors
WordPress major releaseEditor, page builder, custom blocks

Publish changes to live

  1. Take a backup of the live site first.
  2. From the staging site's options in WP Squared, choose to publish or push it to live.
  3. If the tool lets you choose, decide whether to push files only or files and database.
  4. After publishing, purge caches and test the live site in a private window.

Warning: Pushing the staging database to live replaces live content. Orders, comments, form entries and new users created on live after you made the staging copy are lost. On shops and busy blogs, push files only, or repeat the tested changes on live by hand.

Refresh or delete staging

Staging copies get outdated quickly. Delete the staging site when you are done, and create a fresh one next time from the current live site. This avoids testing against old content and frees disk space.

Troubleshooting

  • Staging links point to the live domain: some plugins store full URLs in their own settings. Search and replace the live address with the staging address on the staging copy.
  • Login to staging fails: clear cookies or use a private window; both sites set similar cookies.
  • Images missing on staging: a CDN or offload plugin serves images from live. Disable it on staging.
  • Not enough space to create staging: remove old backups or unused media first, or ask support about your plan's limits.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.