Staging URLs left after launch: a live site still pointing at its copy
Last reviewed
Your live site still points back to its staging copy.
Staging leftovers are traces of the staging copy that survive a launch: links, images and canonical tags that still use the staging address, a noindex still switched on, or a robots.txt that still blocks every search engine. They happen because the site was built on one address and moved to another. Visitors meet login boxes and broken images, and search engines are pointed at the wrong copy. A careful search and replace clears most of them.
Why staging leftovers after launch costs you customers
Each leftover sends people or search engines back to a copy that should be private. A visitor who clicks a menu link and meets a password box assumes the site is broken. Images served from staging disappear the day the staging copy is locked or deleted. A canonical tag naming the staging address tells Google the real version of the page lives somewhere else, which can keep the live page out of results.
What usually causes staging leftovers after launch
- Content moved to the live domain without updating the addresses stored inside the database
- Menu items and buttons were built with full staging addresses instead of relative links
- The SEO plugin's canonical or site address setting was copied over still naming staging
- Images and files were uploaded while the site lived on staging and kept their old addresses
- A form, script or embedded frame was set up with the staging address and still sends to it
- The robots.txt file and the noindex setting from staging travelled with everything else
How to check for staging leftovers after launch yourself
- Open a few key pages on the live site, right-click, choose "View page source" and search for the staging address, for example "staging." or your host's temporary domain. Every match is a leftover.
- Hover over each menu link and button and read the address shown at the bottom corner of the browser window. It should start with your live domain.
- Right-click a few images and choose "Open image in new tab". The address should be on your live domain, not the staging one.
- Search the page source for rel="canonical" and check that the address after it is the live page itself.
- Add /robots.txt to your live domain and make sure no "Disallow: /" line sits under "User-agent: *".
How to fix staging leftovers after launch
- Ask your web person to take a backup, then run a database search and replace from the staging address to the live one. On WordPress, a migration plugin or WP-CLI handles the addresses stored inside saved settings, which a plain text replace can break.
- Check that the site address settings show the live domain: in WordPress under Settings, then General, or in your platform's domain settings.
- Have them set the SEO plugin's canonical and site address to the live domain, and confirm each page's canonical names the page itself.
- Remove the staging robots.txt block and the noindex setting, then confirm both on the live address.
- Only lock or delete the staging copy once the live pages are clean, so no live page is still loading images from it.
- Add a search for the staging address to your launch checklist, run on the live site straight after every move.
How Prsona catches staging leftovers after launch
With the Staging add-on, the go-live check runs on the live address after launch and reports links, images, forms, scripts and canonical tags that still point at the staging address, along with a leftover noindex or robots.txt block, each listed with its page.
Prsona looks for staging leftovers after launch as part of a staging site audit.
Find every link, image and tag still pointing at staging once your site goes live.
Questions about staging leftovers after launch
Why do staging links survive a launch?
Because many platforms store full addresses, not just page names, every time content is saved. A page built on staging remembers the staging address in its links, images and settings. Moving the files does not change those stored addresses, which is why a search and replace belongs in every move.
Is a canonical tag pointing at staging really a problem?
Yes. A canonical tag tells Google which address is the real version of a page. If it names the staging address, Google is told the live page is the copy. Google treats the tag as a hint and may still choose the live page, but there is no reason to leave that to chance.