Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Fix your staging site after a cPanel merge

This guide helps you check and repair a site after you merge changes from a staging copy to the live site.

cPanel2 min read21 steps

What is a staging site and a merge?

A staging site is a private copy of your live website. You test changes there first. A merge (or push) copies the changes from staging back to the live site. Some cPanel tools, such as WordPress Manager or Softaculous, offer this feature. It may depend on your plan. Ask Hostvento support if you cannot see it.

Sometimes things look wrong after a merge. Links may point to the staging address, images may vanish, or the staging copy may be out of date.

Warning: Take a backup of your live site before you do any repair steps.

Step 1: Check the live site

  1. Open your live site in a private browser window.
  2. Click through the home page, a few posts and your menus.
  3. Look for broken pictures, wrong links or missing pages.

Step 2: Clear caches

  1. Clear the cache in any caching plugin.
  2. Clear your browser cache.
  3. If you use a CDN, clear its cache too.

Step 3: Fix the site address

  1. Log in to the live WordPress dashboard.
  2. Go to Settings, then General.
  3. Check that WordPress Address and Site Address show your real domain, not the staging one.
  4. Click Save Changes.
  5. Go to Settings, then Permalinks and click Save Changes to refresh links.
  1. Install a search and replace plugin such as Better Search Replace.
  2. Search for your staging address, for example staging.yourdomain.com.
  3. Replace it with your live domain.
  4. Run a dry run first, then run it for real.

Step 5: Check search visibility

Staging sites often ask search engines to skip them. After a merge, this setting can reach the live site.

  1. Go to Settings, then Reading.
  2. Make sure Discourage search engines from indexing this site is not ticked on the live site.
  3. Click Save Changes.

Step 6: Refresh your staging copy

After you merge, the staging copy is out of date. Delete it and make a new one from the live site so both match.

  1. Open your staging tool in cPanel.
  2. Remove the old staging copy.
  3. Create a new staging copy.

If it is still wrong

Restore your backup, then ask Hostvento support for help. Open a ticket and say what you see.

Quick recap

  • Check the live site, then clear all caches.
  • Make sure the site address is your real domain.
  • Replace staging links and check search visibility.
  • Create a fresh staging copy afterwards.