After a move to a new address, your WordPress site keeps sending visitors back to the old one. The old address is still stored in its settings. Here's why.
What it means
WordPress stores its own URL in two places: the database settings (siteurl and home) and sometimes hardcoded in wp-config.php or .htaccess. If any of those still point to the old domain, every visit gets redirected there.
Why it happens
It happens after incomplete migrations - the files moved but the database URLs weren't updated, or a cached redirect rule survived the move.
What to do
- Check Settings > General - WordPress Address and Site Address must both be the new domain.
- Search the database for the old domain - it may be in wp_options or post content.
- Check wp-config.php for hardcoded WP_HOME or WP_SITEURL definitions.
- Clear all caches - page cache, object cache, CDN, and browser cache can all serve old redirects.
- Check .htaccess for redirect rules pointing to the old domain.
Still stuck? Domain redirect issues after migration are common - we can find every place the old URL is stored and update them all.
Get emergency help