Fix the Links Inside Your Site After You Switch Domains
After you move to a better domain, the menus, buttons, and page links inside your own site can still point at the old name. Here's how to find and fix them.
You moved your business to a better domain name. The redirects are in place. Type the old address, and it jumps to the new one. So you're done, right?
Not quite. There's one more thing people miss: the links inside your own site. The menu at the top. The button that says "Book Now." The link in a blog post that points to your services page. A lot of those still point at the old domain, even after you switch.
Redirects will catch them. But leaning on redirects for your own internal links is sloppy, and over time it can slow pages down and cost you in search. The clean fix is to update internal links after a domain change so every link inside your site points straight at the new name.
Why this matters even when redirects work
A redirect is a detour sign. When a visitor clicks a link to your old domain, the detour sends them to the new one. It works. But every detour adds a small delay, and every internal link that takes the long way is one more thing that can break later if a redirect gets removed.
Search engines notice too. Google follows your internal links to understand your site. When those links point at an old address that redirects, you're making Google do extra work to figure out what you already know. Point the links straight at the new domain and you remove the guesswork.
Think of it this way: redirects are for the outside world — old bookmarks, other people's links, search results that haven't caught up. Inside your own walls, you should be linking to the real address.
Where old links usually hide
Internal links live in more places than you'd think. Here's where to look:
- Your menu and footer. The navigation at the top and bottom of every page. These are often set once and forgotten.
- Buttons and call-to-action links. "Get a Quote," "Call Us," "See Our Work." Check where each one actually goes.
- Body text in pages and posts. Any spot where you typed out a link, like "visit our plumbing services page."
- Images that link somewhere. A logo that links back to your homepage is a common one.
- Hard-coded addresses. Anywhere you spelled out the full old domain instead of letting the site fill it in.
That last one is the real troublemaker. If a link just says /services, it already points at whatever domain the page is on, so it moves with you automatically. If a link spells out the whole old address, it's stuck pointing backward until you change it.
How to find every old link
You don't have to click through your whole site by hand. A few faster ways:
- Use a free broken-link or site crawler. Tools like Screaming Frog's free version will crawl your site and list every link, so you can spot any that still contain the old domain.
- Search your own content. If you run WordPress or a similar system, search your pages and posts for your old domain name. That surfaces links you typed into the text.
- Check the site code. Many page builders let you view a page's links. Look for the full old address spelled out anywhere.
Make a list of every spot you find. Menu, footer, buttons, body text. You want one pass that catches all of it.
The fix, step by step
Once you know where the old links are, cleaning them up is straightforward:
- WordPress and most builders: A search-and-replace tool can swap the old domain for the new one across your whole site in one move. This is the fastest route when you have a lot of links. We cover this in detail for WordPress — see the sibling guide below.
- By hand: For a small site, just open each page, find the old links, and point them at the new domain. Tedious, but reliable.
- Better yet, use relative links: When you fix a link, point it at /services instead of the full address. Relative links move with your site, so you never have to do this again.
If you're on WordPress, read Moving a WordPress Site to a New Domain Without Breaking It before you start — it walks through the search-and-replace step so you don't miss anything or break your settings.
Don't forget the links you don't control
Internal links are the ones inside your own site. But other websites link to you too — your supplier, the local chamber, a directory you joined years ago. Those are worth updating as well, though you'll have to ask. See Ask the Sites Linking to Your Old Domain to Update Them for how to handle that without it taking over your week.
Where this fits in the move
Fixing internal links is one step in moving to a new domain, not the whole job. Make sure you've also:
- Pointed the new domain at your site — see How to Point Your New Domain to Your Current Website.
- Set up redirects from the old domain — see How to Set Up 301 Redirects From Your Old Domain to Your New One.
Do those first. Then clean up the internal links so your site stands on its own, with every road pointing the right way.
Thinking about whether a better domain is even worth the move? That's a fair question to ask before you touch anything. Browse names for your city and trade on PixelWorks Domains, or ask us about one specific domain you have in mind — it takes under a minute.