Skip to content
Hire Me Login
WORDPRESS RESCUE

WordPress Site Showing Hello World? Get Your Real Site Back

You open your website and see a plain default theme with one post: “Hello world!” Your pages, design and content seem gone. In almost every case they aren’t. Here’s how to find where your real site went and bring it back.

By Md Juwel Rana, WordPress Developer · Last updated · 12 min read

“WordPress site showing Hello World” means your domain displays the default WordPress sample content, usually the “Hello world!” post on a default theme like Twenty Twenty-Four, instead of your real website. It typically happens right after a migration, a hosting change, a DNS change, a one-click WordPress install by the host, or a failed restore. Sometimes wp-admin is also empty; sometimes wp-admin looks normal and only the front end is wrong.

I’m Md Juwel Rana, a WordPress developer at Web Relife with more than 10 years of experience. A WordPress site showing Hello World looks scary, but it almost always means the domain is talking to the wrong copy of WordPress, the wrong database, or a fallback theme. Your real content is usually sitting safely somewhere else on the server.

Why Is My WordPress Site Showing Hello World?

Short answer: A WordPress site showing Hello World is usually loading a fresh WordPress install instead of yours: the domain points to a new server or folder where the host installed WordPress, wp-config.php connects to a new empty database, or the table prefix doesn’t match your imported tables. If wp-admin shows your content, the theme is missing or the homepage setting changed. Check wp-admin first.

The quickest test is to log in to wp-admin. If your old username works and you see your own pages, posts and plugins, the database is right and the problem is on the front end. If only a default “admin” user, one Hello world post and a sample page exist, you’re looking at a different, fresh WordPress, and your real site is in another database or folder.

Key takeaways
  • Don’t delete anything or reinstall WordPress yet; your content is probably still there.
  • Log in to wp-admin first to tell a database problem from a theme problem.
  • Compare DB_NAME and $table_prefix in wp-config.php with the database you imported.
  • Check the domain’s DNS and the hosting document root point to your real files.
  • If your theme is missing, WordPress falls back to a default theme and shows latest posts.
WordPress site showing Hello World - default theme with the sample post instead of the real website
The domain is loading a fresh install. Your real site is usually still on the server.

What’s Causing Your “Hello World” Page?

QUESTION 1 OF 3

What Causes a WordPress Site Showing Hello World?

CauseTypical signFix
DNS points to a new or wrong serverDifferent sites on different networksStep 1
Files uploaded to the wrong folderHost’s fresh install in document rootStep 2
wp-config.php uses another databasewp-admin is fresh tooStep 3
Table prefix mismatchYour tables exist with another prefixStep 4
Database import failed or partialSome content or settings missingStep 5
Theme missing or brokenDefault theme, wp-admin fineStep 6
Homepage setting changedBlog list instead of your homepageStep 7
Cached copy of a fresh installFixed when bypassing cacheStep 8
Wrong site in a multisiteNetwork shows the main site’s postsStep 9
Restore, reset or hackNo change made by youStep 10

How Do I Fix a WordPress Site Showing Hello World?

Before changing anything, take a backup of the current files and every database on the account, including the “empty” one. Then work through these steps. Steps 1 to 4 fix most cases of a WordPress site showing Hello World.

1

Check where the domain actually points

Look up your domain’s A record (with a DNS checker or your registrar) and compare it to the IP address of the server that has your real site. After a move, DNS can take hours to update, so you may see the new server while visitors still see the old one, or the reverse. Also check your computer’s hosts file, which some migration guides tell you to edit for testing, and remove any old entries.

2

Check the document root and folders

Many hosts install a fresh WordPress when you add a domain. If you uploaded your site into a subfolder (like public_html/mysite) or a different domain’s folder, the domain still loads the host’s fresh install. In the hosting panel, check the domain’s document root, then look inside it: is that where your real wp-content/themes and uploads are? Move your files there, or point the document root to your files.

3

Check wp-config.php database settings

Open wp-config.php in the document root and look at DB_NAME, DB_USER and DB_HOST. If the host’s one-click install created its own database, wp-config may point there instead of the database you imported. In phpMyAdmin, open the database you imported and confirm it has your posts. Then update DB_NAME (and the user and password if needed) to that database.

4

Match the table prefix

Each WordPress database uses a table prefix, like wp_ or wp7x_. If your imported tables start with wp7x_ but wp-config.php says $table_prefix = 'wp_';, WordPress reads the host’s fresh wp_ tables (Hello world) or shows the install screen. Change the prefix in wp-config.php to match your imported tables exactly:

$table_prefix = 'wp7x_';
5

Re-import the database if it’s incomplete

Large imports through phpMyAdmin often time out halfway, leaving some tables missing. Compare the table list and row counts with the old site, especially posts, postmeta and options. If tables are missing, re-import with the host’s import tool, WP-CLI (wp db import) or by asking the host to import it for you. Then run a serialized-safe search-replace if the domain changed.

6

Restore a missing or broken theme

If wp-admin shows your content but the front end uses a default theme, WordPress couldn’t load your theme. This happens when the theme folder wasn’t copied, a child theme’s parent is missing, or style.css is damaged. Check wp-content/themes, upload the missing theme (and parent theme), then activate it in Appearance > Themes. Premium themes may need their license reconnected on the new domain.

7

Fix the homepage setting

If you see a list of posts (with Hello world among them) instead of your designed homepage, go to Settings > Reading. Set “Your homepage displays” to “A static page” and choose your Home and Blog pages. This setting can reset when a theme is missing or after a partial import. If the dropdown doesn’t list your homepage, the page itself wasn’t imported (Step 5).

8

Purge every cache

If the fresh install was briefly live, a cache may still serve it after you fix everything. Purge your cache plugin, the host’s server cache, and Cloudflare or your CDN, then test in a private window. If you use Elementor, also regenerate its CSS; my guide on Elementor not working after migration explains how.

9

Check multisite and domain mapping

On a WordPress multisite, a domain that isn’t mapped correctly loads the main site or a new empty subsite. Check Network Admin > Sites for the site’s address, and the DOMAIN_CURRENT_SITE value in wp-config.php. Make sure the domain is mapped to the right site ID.

10

Rule out a restore, reset or hack

If you made no changes and your site suddenly shows Hello world, ask your host whether they restored a backup or migrated servers, check for database reset plugins, and look at the users list for admin accounts you don’t recognize. If something looks wrong, change all passwords and see the hack section below.

Your site turned into “Hello world” overnight? Don’t reinstall or delete anything. I’ll find your real files and database and bring your site back safely.

Restore my site

How Do I Check Which Database Has My Real Site?

Short answer: Open phpMyAdmin, look at every database on the account, and find the one whose posts table contains your real page titles. Note its name and table prefix, then make DB_NAME and $table_prefix in wp-config.php match it. Back up both databases before changing anything.

In phpMyAdmin, click each database and look at the table names. A fresh install has about 12 tables with few rows. Your real site usually has many more tables (from plugins like WooCommerce, Yoast or Elementor) and thousands of rows in postmeta. Open the options table and check the siteurl and home rows; they show which domain that database belongs to.

If you have SSH, WP-CLI makes this quick:

wp db tables
wp option get siteurl
wp post list --post_type=page --fields=ID,post_title

This check alone solves most cases of a WordPress site showing Hello World after a move. If none of the databases contain your content, the import never happened or failed. Restore the database from your migration package or the old host’s backup. If your images are also missing after the move, see WordPress images not showing after migration.

Could “Hello World” Mean My Site Was Hacked?

Usually not, but it’s worth ruling out when nobody changed anything. Attackers rarely replace a site with a clean fresh install; they more often add spam pages, redirects or hidden admin users. Still, a site that suddenly resets can point to a compromised hosting account or a malicious database reset. Check these:

If you find signs of a hack, see my guides on WordPress site keeps getting hacked and WordPress site redirecting to spam.

Who Fixes a WordPress Site Showing Hello World?

Web Relife, run by Md Juwel Rana, fixes WordPress site showing Hello World problems for US businesses and agencies: DNS and document root checks, wp-config database and prefix fixes, failed imports, missing themes, homepage settings, caches and post-hack recovery. Every fix starts with a full backup of everything on the account.

Send your site URL and what changed recently through the Hire Me page or WhatsApp.

WordPress Site Showing Hello World: FAQ

Did I lose my website if it shows Hello world?

Usually not. The domain is loading a fresh install, another database or a default theme. Your real files and database are often still on the server or in your backup.

Should I reinstall WordPress to fix it?

No. Reinstalling can overwrite files and make recovery harder. Back up everything and check DNS, document root, wp-config.php and the database first.

Why does wp-admin show my content but the site shows Hello world?

Your theme is missing or broken, so WordPress uses a default theme, or Settings > Reading shows latest posts instead of your homepage.

Why does my site show Hello world only on my computer?

DNS hasn’t finished updating, or your hosts file points to another server. Clear your DNS cache, check the hosts file and test on mobile data.

What is the table prefix and why does it matter?

It’s the start of every WordPress table name, like wp_. If wp-config.php uses a different prefix from your imported tables, WordPress reads the wrong tables.

My host installed WordPress for me. Did that overwrite my site?

It may have created a new install and database next to yours. Check the document root and every database before deleting anything.

How long does it take to restore the real site?

A wp-config or DNS fix takes minutes. Re-importing a large database or rebuilding missing files can take a few hours.

Get Your Real Website Back

I’m a WordPress developer with 10+ years of experience. I’ll find your real site and restore it without losing anything:

  • DNS, document root and hosting folder checks
  • wp-config database, user and table prefix fixes
  • Failed imports, missing themes and homepage settings repaired
  • Cache cleanup and security checks, with full backups first

Sources

JR
Md Juwel Rana is a full stack WordPress developer at Web Relife with over 10 years of experience. He migrates, repairs and secures WordPress and WooCommerce sites for US businesses. Need a hand? Hire me here.