Redirect an old domain to a new domain – onlinecode
In this post we will give you information about Redirect an old domain to a new domain – onlinecode. Hear we will give you detail about Redirect an old domain to a new domain – onlinecodeAnd how to use it also give you demo for it if it is necessary.
You had an old area, for example, onlinecode.com and now you choose you really need to utilize example.net for the site. If you want to change old domain such as onlinecode.com. name to new domain such as onlinecode it is a possible through htaccess.
Follow below example of how to Redirect an old domain to a new domain using htaccess.
RewriteEngine on RewriteCond %{HTTP_HOST} ^onlinecode.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.onlinecode.com [NC] RewriteRule ^(.*)$ https://onlinecode.org/$1 [L,R=301,NC]
Hope this code and post will helped you for implement Redirect an old domain to a new domain – onlinecode. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs