Redirecting Subdomains to a New Domain Name – Step-By-Step Procedure

First of all, you need to know that redirecting subdomains to a new domain name is a complicated process, but we are going to try and simplify the things for you.

In order to understand the procedure, we are going to use examples. Through the examples, you will understand the steps and the process of redirecting subdomains to a new domain name.

Let’s suppose that you have a domain name set. This domain represents your website and your website uses WordPress. If your domain is http://example.com, you will probably use subdirectories example.com/1a and example.com/2a. So, the idea is to redirect these subdirectories to your new domain name. For instance, example.com/1a should redirect to http://example1.com and example.com/2a should redirect to http://example2.com.

You can try and use various tools and methods for redirection such as WordPress plugins, Redirects and Source Redirect Sites, Eggplant 301, and etc. You can try and use all of these tools, one at a time, and see which one of these tools works. It is possible for none of these tools to work. So how can you redirect your subdomains to your new domain if something like this happens?

In this case, you want to move from your multisite to single websites. That how each install will have its own domain and you could still utilize your multisite and after that, you can use domain mapping. You will map the domain name so that http://example.com/1a loads http://example1.com. Everything will be done automatically and the best part is that this method does not require htaccess redirects. If you have already decided that you want to separate the sites, in this case, a htaccess 301 will work just fine. If the htaccess 301 does not work, make sure to consult with your web hosting service provider. They may have something that affects this in their setup. If you’re looking for a platform to manage your domain, Shopify offers this and many more services related to domain management.

How to Redirect a Domain Name Without Changing the URL

Now that you know how to redirect subdomains to your new domain name, it is time to learn how to redirect a domain name without changing the URL as well.

There are 2 ways you can use:

  1. Redirect and Keep Everything After the URL – The first way is to redirect and keep everything after the URL. If you’ve changed your domain, but you have plenty of traffic coming to your previous domain, you can use this to present them the current content that is located on your new domain, without updating the both websites.
  2. Redirect a Domain to a Specific URL – The second way is redirecting a domain to a specific URL. So, if you want traffic to go to your old domain to a specific web page in mind, you need to use a specific code. Consult with your web hosting service provider to give you the code. It is recommendable to use this method if you have an external blog or a shopping cart so you want visitors to visit your domain without the need of fully hosting the domain name there. The visitors will be able to access your website by using the domain, but they will see the content of your external URL.

We hope that this article was helpful to you and you’ve learned how to redirect domains and subdomains.  For more information, you can consult with the hosting provider.

ARTICLES

Request a Call back

Do you have questions about how Consulting WP can help your company? Send us an email and we’ll get in touch shortly, or phone between 8:00 and 18:00 Monday to Friday — we would be delighted to speak.

Your details are kept strictly confidential as per our Privacy Policy.