Over the years of running WordPress sites, we’ve handled countless full site redirects for various reasons – domain changes, site restructures, and security upgrades. We’ve learned that having a solid redirect strategy is essential for maintaining your site’s performance and user experience.
The challenge most website owners face isn’t that redirects are too technical, but that they’re not sure which method works best for their specific situation. We’ve tested different redirect techniques across dozens of sites and refined our approach to find what works most reliably.
Today, we’re sharing the step-by-step method we use for every full site redirect. This proven approach will save you time and ensure your visitors always land where they’re supposed to be, no matter what changes you make to your site.

Why Do a Full Site Redirect in WordPress?
A full site redirect allows you to move your entire website to a new location without losing traffic or search engine rankings. When a user enters the old URL of your website in their browser, they will be automatically redirected to the new domain.
It also helps you keep all the backlinks you’ve built over the years and direct them to your new website domain name. Your users can easily find all your existing content on the new domain.
A full site redirect also prevents broken links or 404 errors from occurring, which can be bad for your WordPress SEO and user experience.
From a technical point of view, a complete site redirect is a 301 redirect. This type of redirect tells search engines that the web page has permanently moved to the new location.
This is the most beneficial type of redirect for your keyword rankings and traffic, and it helps pass the SEO authority of your old domain to the new domain.
That said, let’s see how you can set up a full site redirect in WordPress.
Editor’s Note: Before you set up a WordPress full site redirect to a new domain, it’s important that you transfer all your content first. You can use our tutorial on how to export a WordPress site, or follow our step-by-step guide on how to move WordPress to a new domain (without losing SEO).
How to Do a Full Site Redirect in WordPress
The easiest way to set up a full site WordPress redirect is by using All in One SEO (AIOSEO). It’s the best SEO plugin for WordPress and is used by over 3 million professionals.
AIOSEO helps you optimize your website for search engines without the need to hire an expert. Plus, it offers a powerful redirection manager that allows you to properly redirect users to a new domain without losing SEO rankings while also tracking 404 errors.
For this tutorial, we’ll be using the AIOSEO Pro version because it includes the Redirection Manager. There is also an AIOSEO free version that has all the basic features you need to start optimizing your WordPress website to get more search engine traffic.
First, you’ll need to install and activate the AIOSEO plugin. For more details, please see our guide on how to install a WordPress plugin.
Upon activation, you can head over All in One SEO » General Settings from your WordPress dashboard and enter the license key. You can find the key in your AIOSEO account area.

To set up AIOSEO on your website and optimize your site for search, you can launch the setup wizard and follow the onscreen instructions. For more details, please see our guide on how to set up AIOSEO in WordPress.
Next, you can head over to All in One SEO » Redirects from the WordPress admin panel and then click the ‘Activate Redirects’ button.

Once the addon is active, you can go to the ‘Full Site Redirect’ tab under Redirects.
After that, click the ‘Relocate Site’ toggle to display more options.

You’ll now see a field where you can enter the new location for your website.
Simply enter the new URL in the ‘Relocate to domain’ field and click the ‘Save Changes’ button. The plugin will automatically redirect everything except the WordPress login page and admin.

To check if your new redirection is working, simply enter the old URL in the browser, and it should automatically redirect you to the new domain.
Track and Fix Broken Links in WordPress
When you move to a new domain name, it’s always possible that some of the links on your site could break and result in 404 errors. However, with AIOSEO, you can easily track broken links in WordPress and fix them using the redirection manager.
Simply head over to All in One SEO » Redirects from the WordPress admin area and then click the ‘Settings’ tab. Next, enable 404 Logs and Redirect Logs by clicking the toggle.

Once you enable this feature, AIOSEO will start recording 404 errors on your website. Do note that at first, there will be nothing in the logs. It only starts recording 404 errors after you’ve enabled the option.
Once anyone has triggered a 404 error on your WordPress site, you can view the logs by going to the ‘404 Logs’ tab under Redirects.

To fix any broken link, simply click the ‘Add Redirect’ option. Then enter the new location under the ‘Target URL’ field and choose your Redirection Type.
After adding these details, simply click the ‘Add Redirect’ button.

For more details, you can follow our guide on how to track and fix broken links in WordPress.
Video Tutorial
Frequently Asked Questions About Full Site Redirects
Below are some of the most common questions we get about doing full site redirects in WordPress. These should help clear up any remaining confusion about the process.
1. Will a full site redirect hurt my SEO rankings?
When done correctly, a full site redirect using 301 redirects should preserve most of your SEO value. Search engines understand that websites sometimes need to move, and they’ll transfer the ranking power from your old URLs to your new ones. However, you may see a temporary dip in rankings for a few weeks as search engines process the changes.
2. How long does it take for a full site redirect to take effect?
The redirect itself works immediately once you implement it. However, it can take search engines anywhere from a few days to several weeks to fully process all the redirected URLs and update their indexes. Most users will see the redirect working right away, but SEO benefits may take 4-6 weeks to fully materialize.
3. Can I redirect my WordPress site without a plugin?
Yes, you can set up full site redirects using your .htaccess file or through your hosting provider’s control panel. However, using a WordPress redirect plugin is often easier for beginners and provides more control over the process. Plugins also make it simple to manage and modify redirects later if needed.
4. What’s the difference between 301 and 302 redirects for full site moves?
A 301 redirect tells search engines that the move is permanent and transfers SEO value to the new location. A 302 redirect indicates a temporary move and doesn’t pass SEO benefits. For full site redirects, you almost always want to use 301 redirects to preserve your search rankings.
5. Do I need to redirect every single page individually?
No, a full site redirect can be set up to automatically redirect all pages from your old domain to your new domain while maintaining the URL structure. This means if someone visits oldsite.com/about
, they’ll automatically be sent to newsite.com/about
without you having to set up individual redirects for each page.
6. How do I test if my full site redirect is working properly?
You can test your redirect by visiting your old URLs in a private browser window to see if they properly redirect to the new location. There are also online redirect checker tools that can verify your redirects are working correctly and confirm they’re using the right redirect type (301 vs 302).
We hope this article helped you learn how to do a full site redirect in WordPress. You may also want to see our guide on how to redirect a page or URL in WordPress or our expert pick of the best WordPress redirect plugins.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Shah
As you mentioned the plugin will redirect everything except the WordPress login page, is that means the login page will use previous domain name or what? I didn’t understand that. Do we need to keep the old domain with us and keep renewing it every year.
I will really appreciate your helpful reply.
WPBeginner Support
Correct, this would mean that you could log in to cancel the redirect if you needed to. You do not need to continually renew the domain, it is mainly recommended to renew the old domain as long as your users are still using the old domain.
Admin
Jiří Vaněk
I have about 1300 articles on the website. If I wanted to change the domain, how should I proceed? Migrate the website to a new hosting and a new domain and leave the original one where it is set to redirect each url to the new one? Does this mean I have to set up 1300 redirects? Or does it work so that I set this redirect in AIO SEO and it only replaces the domain name in the url and redirects to the appropriate URL? I’m a little confused.
WPBeginner Support
You would want to set up the new site and ensure the content is imported properly on the new host first. After that you could manually create the redirects or use AIOSEO to handle the redirect process for you. As long as your permalinks have not changed you can use far fewer redirect rules for the site to go to the new domain.
Admin
Jiří Vaněk
Permanent links will be the same, only the main domain will change. Thank you for the advice. I will try to solve it over time using AIO SEO PRO and possibly their support can help me with it. Thanks for the reply.
THANKGOD JONATHAN
THank you for the tutorial. However in case of a website that all\ready have a lot of content I think fixing 404 error individually can be challenging and also time consuming. How do I deal with that?
WPBeginner Support
The first method from the article is designed to help you migrate a larger site without needing to worry about the 404s
Admin