Duplicate Content When Switching Domain?

Business Directory

Junior Member
Joined
Jan 13, 2011
Messages
128
Reaction score
36
Hi guys, I have a quick question.

I'm based in Australia and to get the best search engines rankings on Google.com.au you need to have a .com.au domain name.

Now the problem is, my clients website has always been a .com USA domain. They had a website built using Wix & it was very bad for SEO.

So recently I re-built their site so they don't have to use the Wix platform. I also bought the .com.au version of their domain name. Now I re-directed the .com domain to the .com.au domain and I've noticed Google has cached the new .com domain. Now here's my problem, the .com.au has not been indexed yet because I only just purchased it. I didn't think the .com domain would get indexed so fast, but was wrong. So now I'm wondering, when the .com.au domain does get indexed. Will the content be class as "Duplicate Content". Because it's already been found on another site?
 
Just create an index.php and delete or rename your index.html. Copy this code in your index.php and replace the new-url dot com with your "new" site.

Cheers

PHP:
<?php
    Header( "HTTP/1.1 301 Moved Permanently" ); 
    Header( "Location: http www dot new-url dot com" ); 
?>
 
Just create an index.php and delete or rename your index.html. Copy this code in your index.php and replace the new-url dot com with your "new" site.

Cheers

PHP:
<?php
    Header( "HTTP/1.1 301 Moved Permanently" ); 
    Header( "Location: http www dot new-url dot com" ); 
?>

Will that make a 301 direct for all urls from the old website to the new one - or only for the main url?
 
In case of not having sub domains and all extern links were linked to blabladotcom/index.php?cat=xx for example it will redirect to the new url.

If its linked blabladotcom/bla1/bla2.html it may return an 404 error "not found". You could change your error 404 "template" and overrite it with the php code shown above. Its possible to redirect ALL traffic (no subdomains if not linked to the full domain) with htaccess i think but im not sure. Create the file .htaccess (if not already exists) in your main folder and add the following lines:

Code:
redirect 301    /      www dot yournewdomain dot com/

If you edit your 404 errorpage and just the index.php is uploaded it will redirect in every case.

Hope i could help you with my short explanation :)
 
Last edited:
Back
Top