Solved: URLs Not Working After Moving WordPress Site

If your WordPress site’s URLs are not working after moving the site to a different new domain, I know one effective way to fix the problem. In this post, I will show you this super-easy way to fix WordPress broken links after changing the site URL.
You will need to install the Search and Replace Everything plugin. Next, you must implement certain simple steps to get your URLs working again.
Listen, you need not give up on your WordPress website when this problem crops up after changing your site’s domain or hosting service.
Like always, I’ve got my story to tell you. It’s about how my client’s website URLs stopped functioning completely and how I solved it eventually.
My Story
I once moved a client’s WordPress site to a new domain. I simply used the export and import features on the admin dashboards of the old and new sites respectively.
That was how I migrated the entire database from the old domain to the new one. Then the problem came up. The links in the posts and pages on the new site stopped working.
This was despite the fact that I had tried to do some redirection using the famous Redirection plugin.
I didn’t try the Simple Website Redirect plugin which might have prevented the problem. But I’m not here to speak about that so keep reading.
We’ve got a problem to solve with your URLs not working after moving your WordPress site to a new domain.
Whenever I clicked on an internal link in a post or page, the result was a white screen in the browser. It would come with the heartbreaking notification that the site couldn’t be reached.
At first, I thought it was a simple browser caching issue, a break in the internet connection or something similar. So I did all I could to correct any such errors. I was in for the shock of my life: Practically all the links, especially the internal links, had stopped working.
So I checked the URLs in these links via the post editor. What I saw were the old site’s URLs. And I had completely done away with that site a long time ago. No trace.
Next, I tried the Broken Links Checker plugin. I scanned the site and edited most of the links by replacing the old site’s URLs with the new site’s. The problem persisted.
I needed to fix this problem since it had adversely affected the site’s SEO based on the reports I kept seeing in Google Search Console.
So I went back to Google and typed this search query:
URLs not working after moving WordPress site
Search and Replace everything plugin to the rescue
After reading around about the solution to my client’s WordPress site not working properly after changing the URL, I settled on the Search & Replace Everything plugin for WordPress by WPCode.
I started by carefully reading the instructions in this WPBeginer post. After that I took action. It worked like a charm!
Now all the links began to function normally like nothing had ever happened. They continue to do so even as I put together this tutorial.
Solved: Can’t Edit Posts or Pages in WordPress
Smart Niche Content Marketing Strategy for Small Local Businesses
80 Best Sub-Niches in Finance and How to Make Them Work
How to Remove the Date from URL in WordPress
I’ll now give you a simplified version of those instructions and what I did to get everything back to normal on my client’s website.
Simply follow the steps below and you will easily fix the problem of broken links after migrating or moving your WordPress site to a new domain or hosting service.
As usual, I’ve cut out much of the fluff. It’s a matter of reading and following the prompts by clicking and typing a few words. Nothing more.
IMPORTANT: First, it’s safe to have a backed-up version of your new site stored somewhere before proceeding. Just in case something goes wrong.
Are you ready? Let’s do it.
Fix Broken links after moving a WordPress Site
Carefully follow these steps to the end.
1. WordPress Admin Dashboard
2. Plugins
3. Add New Plugin
4. Search Plugins (Type ‘Search and Replace Everything’ into this field.)
5. Search & Replace Everything by WPCode
6. Install
7. Activate
Back to Admin Dashboard Left Panel
8. Tools
9. WP Search & Replace
Here, the plugin’s interface will appear on your screen. Continue to follow the prompts. Click or type with joy.
10. Search & Replace tab (Please ignore History, Replace Image and Settings)
11. Search for (Type into this field your OLD abandoned site’s URL. Example: https://www.youroldsite.com. DO NOT MAKE ANY MISTAKES PLEASE)
12. Replace with (Type into this field your NEW site’s URL. Example: https://www. yournewsite.com. NO MISTAKES PLEASE)
Ignore the ‘Case insensitive’ button.
13. Select All (That’s what I did. You may follow my example or select the items you wish in the table you will see at this stage.)
14. Preview Search & Replace
You’ll see the results.
15. Replace All (This is your final joyful click.)
Need help writing content?
Investing in professional content creation is not just about saving time and effort; it’s about positioning your business for long-term success and growth. PTG Marketing is ready to partner with you on this journey. Learn more about our content writing services.
You’ve Solved ‘WordPress URLs not Working After Migration’
Yes, you’ve done it. The plugin has just updated the URLs or links on your site to the relevant ones on the new domain.
You can go in there and click on a few internal links to behold the magic in action.
Related Posts
Final Thoughts
Remember that the problem you’re trying to solve must be exactly the same or similar to the experience I’ve described above. If you realize that yours is completely different you may have to try a different approach.
I’ve got many other common WordPress fixes and troubleshooting tips on this site. You may want to check them out. Who knows, you can still find an antidote to your unique WordPress headache here at PTG Marketing.
I’m committed to sharing my experience as a daily 24/7 WordPress user with any blogger or beginner WordPress user. It’s always a time-consuming and frustrating experience when you have to deal with a confusing tech issue while trying to build your online business. I do not wish on you the troubles I go through. Hence my resolve to share my learnt WordPress fixes anytime I can.
Do you need help creating effective content for your WordPress blog? I’m here to help for a small fee. You can get the details about my blog writing services here.
Did you find this information useful? Then share it on your favourite social media platform by clicking one or more icons below. Thank you very much for sharing.
Last Updated on January 16, 2026 by PTG Market
Discover more from PTG Marketing
Subscribe to get the latest posts sent to your email.

