WordPress Site Showing Another Site's Content or Old Staging Site
If a live domain shows an old or different site, check DNS, server folders and the URLs stored in the database.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Causes
- DNS still points to an old server. Check the A record. See DNS records explained.
- Cache. Test in a private window and on mobile data.
- Domain points to the wrong folder in the hosting panel.
- Database URLs still point to a staging address after a copy.
- CDN caches an old version.
Check
- Compare the site's IP (use the DNS checker on our Tools page) with your host's IP.
- Open the site by its direct server address, where possible, to see which version is there.
- Check the
siteurlandhomevalues.
If search engines indexed a staging copy, block it and redirect it. See WordPress Site Blocked From Google by Mistake: noindex and 'Discourage Search Engines'.
Related guides
- What Is an SSL Certificate Authority and Chain of Trust
- What Is a Domain Registrar vs Web Host vs DNS Host
- What Does 'Not Secure' Mean in the Browser?
- Too Many Redirects With Cloudflare: Flexible SSL Loop Fix
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.