How to redirect a domain name without changing the URL? Is it possible? Read this article and discover the 2 methods you can use to redirect the domain!

Many people are wondering whether or not it is possible to redirect a domain but without changing the URL. If you are one of these people and you are wondering as well, you have come to the right place!

We are going to present you two possible methods you can use to redirect your domain successfully without changing the URL.

Redirect Your Domain – Two Methods to Use

Here are the two methods you can use:

  • Method 1: Redirect the Domain and Keep Everything after the URL – This is the first method and through this method, we are going to show you how to redirect your domain and keep everything after the URL. For example, if you recently changed your domain to DomainA.com, but you still have active traffic and visitors coming to your previous domain or Domain.com, you will use this to your advantage. You will show your visitors the existing content that is currently located on your new domain or DomainA.com, without the need to optimize or update both URLs. In order to use this method, you need to change your .htaccess file for the website or domain that your visitors will go to. You need to add this code: RewriteCond % {HTTP_HOST} ^Domain.com and RewriteRule ^ (.*) http://DomainA.com$1 [P]. Please keep in mind that if you are using the file manager in your cPanel, you need to have the option to show the selected hidden files. After adding the codes you will be able to go to your first domain where the content of your second domain will be shown.
  • Method 2: Redirect a Domain to a Specific URL – The second method is to redirect your domain to a specific website or specific URL and keep the same domain of course. So, if you want your visitors to go to your first domain or DomainA.com with a specific website in mind you need to use this code: RewriteCond % {HTTP_HOST} ^Domain.com and RewriteRule ^ (.*) http://DomainA.com/PathToPageHere [P]. We recommend you to use this method if you have an external blog or a shopping cart on etsy.com.

So, are you ready to redirect your domain?

2017-05-15T11:33:47+00:00