Migrating a website on the same server

Migrating a website on the same server

All-in-One WP migration can transfer your website between servers or within the same server. The following are the advantages of using the plugin over a manual migration:

  • Less effort
  • Less downtime
  • Much simpler

Why would I want another WordPress installed on the same server?

You may want to keep a copy of your website for development or testing purposes. Having a copy on the same server reduces the possibility that different server configurations will cause problems. Another WordPress installation on the same domain can be created in two ways: as a subfolder “yoursite.com/dev” or as a subdomain “dev.yoursite.com.”

Which is preferable? Is it a subdomain or a subdirectory? A subdirectory will retain the same SEO benefits as your main site, whereas search engines will treat a subdomain as a separate entity.

Setting up a subdomain

One-Click

Please check with your hosting provider if they offer one-click installations on subdomains. This is by far the simplest way to do it rather than investigating whether your host has this option or can offer to do it for you. It can save you a lot of time!

Manually

Alternatively, you can frequently set up the subdomain in cPanel using a simple process. You can create subdomains by using the domain or subdomain section.

To upload the WordPress files, create a new FTP account or use the file manager in cPanel. You can download the files from WordPress.org, unzip/extract the contents, and then upload the files to the root of your subdomain.

Next, use your hosting provider’s cPanel to create a database. Create the MySQL database first, followed by the user. After that, the user can be added to the database.

To install WordPress, navigate to the subdomain in your web browser, and the WordPress installation wizard will launch. To finish the installation, you can select your preferences, install the files you previously loaded to the new subdomain, and enter the database credentials.

Installing a copy of a site on a subdomain

Once you have created a subdomain, install the All-in-One WP migration plugin, import your most recent backup from your main site, and save your permalinks twice. Your site’s content will now be duplicated in the new subdomain.

Setting up a subfolder

Connect to your website via FTP or the cPanel file manager. Locate your root domain, which is usually in the /public html/ folder, which contains your wp-content, wp-includes, and wp-admin files. Make a folder or subdirectory under your primary domain name. The URL for your new WordPress installation will be determined by the name you give this folder. The URL will be yoursite.com/dev if you name the folder “dev.”

Install WordPress by downloading the files from WordPress.org, unzipping/extracting the contents, and uploading them to the WordPress folder.

Next, use your hosting provider’s cPanel to create a database. Create the MySQL database first, followed by the user. After that, the user can be added to the database.

To install WordPress, navigate to the subdomain in your web browser and the WordPress installation wizard will launch. You can now choose your preferences, install the files you previously downloaded to the new subfolder, enter your database credentials, and finish the installation.

Installing a copy of a site on a subfolder

Install the All-in-One WP migration plugin, import your most recent backup from your primary site, and save your permalinks twice. The content of your website will duplicate in the new subfolder.

What if I just want my site content on a different folder to make my root directory less messy?

WordPress has the instructions at https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. These instructions will show you how to create a single WordPress site with content stored in a subfolder rather than the root of your domain. This is for advanced users only and we do not recommend it for the average user.

Migrating a website on the same server

All-in-One WP migration can be used to transfer your website between servers or within the same server. The following are the advantages of using the plugin over a manual migration:

  • Less effort
  • Less downtime
  • Much simpler

Why would I want another WordPress installed on the same server?

You may want to keep a copy of your website for development or testing purposes. Having a copy on the same server reduces the possibility that different server configurations will cause problems. Another WordPress installation on the same domain can be created in two ways: as a subfolder “yoursite.com/dev” or as a subdomain “dev.yoursite.com.”

Which is preferable? Is it a subdomain or a subdirectory? A subdirectory will retain the same SEO benefits as your main site, whereas search engines will treat a subdomain as a separate entity.

Setting up a subdomain

One-Click

Please check with your hosting provider if they offer one-click installations on subdomains. This is by far the simplest way to do it rather than investigating whether your host has this option or can offer to do it for you. It can save you a lot of time!

Manually

Alternatively, you can frequently set up the subdomain in cPanel using a simple process. You can create subdomains by using the domain or subdomain section.

To upload the WordPress files, create a new FTP account or use the file manager in cPanel. You can download the files from WordPress.org, unzip/extract the contents, and then upload the files to the root of your subdomain.

Next, use your hosting provider’s cPanel to create a database. Create the MySQL database first, followed by the user. After that, the user can be added to the database.

To install WordPress, navigate to the subdomain in your web browser, and the WordPress installation wizard will launch. To finish the installation, you can select your preferences, install the files you previously loaded to the new subdomain, and enter the database credentials.

Installing a copy of a site on a subdomain

Once you have created a subdomain, install the All-in-One WP migration plugin, import your most recent backup from your main site, and save your permalinks twice. Your site’s content will duplicate in the new subdomain.

Setting up a subfolder

Connect to your website via FTP or the cPanel file manager. Locate your root domain, which is usually in the /public html/ folder, which contains your wp-content, wp-includes, and wp-admin files. Make a folder or subdirectory under your primary domain name. The URL for your new WordPress installation will be determined by the name you give this folder. The URL will be yoursite.com/dev if you name the folder “dev.”

Install WordPress by downloading the files from WordPress.org, unzipping/extracting the contents, and uploading them to the WordPress folder.

Next, use your hosting provider’s cPanel to create a database. Create the MySQL database first, followed by the user. After that, the user can be added to the database.

To install WordPress, navigate to the subdomain in your web browser and the WordPress installation wizard will launch. You can now choose your preferences, install the files you previously downloaded to the new subfolder, enter your database credentials, and finish the installation.

Installing a copy of a site on a subfolder

Install the All-in-One WP migration plugin, import your most recent backup from your primary site, and save your permalinks twice. The content of your website will duplicate in the new subfolder.

What if I just want my site content on a different folder to make my root directory less messy?

WordPress has the instructions at https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. These instructions will show you how to create a single WordPress site with content stored in a subfolder rather than the root of your domain. This for advanced users only and we do not recommend it for the average user.

What about Multisites?

We do not recommend create a multisite installation for the development or testing of a single site. Multisite is useful if you want a large number of separate subdomains that remain under your control, but it complicates migration to single sites.

2 Comments

  1. Manuel Manapat

    what if I want to migrate (copy) just my plugins and database to a new URL/domain (using the same theme but with a new homepage, or demo as the theme author calls it), can it be done successfully with this plugin?

Leave A Comment?