Merge Two WordPress Websites Collectively With out Dropping web optimization

  • January 14, 2023
  • elkenz
  • 6 min read

Not too long ago, considered one of our readers requested us how one can merge two WordPress websites collectively? Typically chances are you’ll create a number of WordPress websites however later need to merge them collectively. WordPress comes with built-in instruments to simply do that. On this article, we are going to present you how one can correctly merge two WordPress websites collectively.

How to merge two WordPress sites together

Why Merge Two WordPress Websites Collectively?

There could possibly be loads of causes for merging two or extra WordPress websites collectively. You could need to begin a brand new WordPress weblog by combining your previous blogs with the intention to have all of your content material on one location.

Another excuse could possibly be that considered one of your blogs just isn’t doing so effectively, and also you need to merge its content material with considered one of your major blogs.

Most customers merge WordPress websites to spend much less time on sustaining a separate WordPress set up. As an alternative of working, advertising, updating and preserving WordPress backups of two or extra websites, you’ll be able to deal with sustaining and rising only one WordPress website.

Let’s check out how one can simply merge WordPress websites collectively.

Exporting Content From Outdated WordPress Web site

For the sake of this instance, we are going to say that you’ve got a WordPress website at and also you need to merge it with

Vital: Don’t overlook to create full WordPress backup of each your web sites. This may turn out to be useful in case something goes flawed and also you need to revert again.

First, you have to go to Instruments » Export web page contained in the admin space of your previous WordPress website. That is the location that you just need to merge with the newer website.

Export content from your old WordPress site

Just be sure you choose ‘All content material’ possibility after which click on on ‘Obtain Export File’ button to proceed.

WordPress will now put together an XML file and ship it to your browser. It’s essential save this file in your laptop as you will have it within the subsequent step.

This file will include the next:

Merging Content on New WordPress Web site

Now that you’ve got exported content material out of your previous website, it’s time to merge it along with your new WordPress website.

Head over to the admin space of the vacation spot website (the location the place you need content material to be merged) and go to Instruments » Import web page.

Install WordPress importer

This web page lists all of the import instruments which you could set up and run in your WordPress website. Scroll all the way down to the underside and click on on the ‘Set up now’ hyperlink below WordPress.

As soon as the WordPress importer is put in, you have to click on on the ‘Run Importer’ hyperlink to proceed.

Run WordPress importer

Subsequent, you may be requested to add the WordPress export file.

It’s essential click on on the ‘Select File’ button after which choose the XML file you downloaded earlier.

Upload WordPress import file

Click on on ‘Add file and import’ button to proceed.

WordPress will now add your export file and analyze it. After that, it can redirect you to import settings web page.

WordPress import settings

It’ll ask you to assign authors or create new authors.

You may assign the imported content material to an current person in your WordPress website or create a brand new creator.

Subsequent, examine the field below ‘Import Attachments’ choice to import media attachments out of your previous WordPress website.

Now you can click on on the Submit button to run the ultimate step of the import.

WordPress will now import content material out of your export file and add it to your new WordPress website. As soon as completed, you will notice successful message.

WordPress import finished

Organising Redirects

After efficiently merging content material from two WordPress websites, the following step is to setup redirects in order that customers visiting the previous website are mechanically redirected to the brand new WordPress website.

You will have to edit the .htaccess file on the previous WordPress website.

You may edit the .htaccess file by connecting to your WordPress website utilizing an FTP consumer or by utilizing the File Supervisor instrument in your WordPress internet hosting cPanel.

The .htaccess file is positioned within the root folder of your web site. In the event you can’t discover it, then see our information on why you’ll be able to’t discover .htaccess file in your WordPress website to unhide it.

It’s essential place this code at high of your .htaccess file.

#Choices +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$$1 [R=301,L]

Don’t overlook to exchange with the area title of your new WordPress website. Save your modifications and add the file again to your server.

Now you can go to any submit in your previous WordPress website, and you may be mechanically redirected to the identical submit on the brand new website.

Troubleshooting After Merging Two WordPress Websites

merge and bulk edit classes and tags?

You could need to clear up classes and tags after merging two WordPress websites. For detailed directions, take a look at our tutorial on how one can merge and bulk edit classes in tags in WordPress.

import lacking pictures?

For that you’ll have to quickly disable redirect by enhancing .htaccess file and eradicating the code you added earlier. After which you could observe the directions in our information on how one can import exterior pictures in WordPress.

Don’t overlook to setup redirects once more after importing your pictures.

Repair URLs pointing to previous area in posts and pages

All inside hyperlinks in imported posts and pages will nonetheless be pointing to your previous website. Since you have got redirects setup, your customers will nonetheless land on the right submit in your new website.

Nonetheless, you continue to must replace URLs for improved web optimization and higher person expertise. For step-by-step directions, see our tutorial on how one can replace URLs when transferring your WordPress website.

We hope this text helped you merge two WordPress websites collectively. You may additionally need to see our step-by-step WordPress web optimization information for newcomers.

In the event you preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can too discover us on Twitter and Fb.