Mobile app version of vmapp.org
Login or Join
Shelton105

: Pointing .co.uk, .org & .info to main .com domain I have a client who has multiple domains .co.uk, .org and .info and would like to point them to the main .com domain name. They have changed

@Shelton105

Posted in: #Domains #Redirects #TopLevelDomains

I have a client who has multiple domains .co.uk, .org and .info and would like to point them to the main .com domain name.

They have changed the nameservers of the .co.uk, .org and .info domains.

Can anyone point me in the right direction?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

In order to redirect .co.uk, .org and .info to .com, good practices refer to use 301 redirections. There are various method to apply these redirections. My favourite are:


Doing it with .htaccess file if you use Apache web server (or specific file for another web server)

You can follow this for more information.
Doing it with index.php file on other TLDs root. Here's an example:

header("Status: 301 Moved Permanently", false, 301);
header("Location:http://www.example.com");
exit();

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme