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?
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
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();