Welcome to WebmasterWorld Guest from 107.21.163.40

Forum Moderators: phranque

Message Too Old, No Replies

Duplicate content with 1&1 account name

     
9:08 pm on Nov 19, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:May 8, 2008
posts:44
votes: 0


Hi,
We have found out that we have duplicate site content on google. Same contain appears on google search results from site domain name and our account name with 1&1.

For example:

www.domainname******.com/info/about-us.htm
www.accountnumber******.onlinehome.us/info/about-us.htm

Why is this happening?
How to remove duplicate pages?
11:45 pm on Nov 19, 2013 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month

joined:Apr 30, 2008
posts:2619
votes: 186


They most likely both point to the same webspace on your server.

Have you got non-www redirection in your .htaccess? If you do, and change the condition to test for the host name to be "if not www.example.com" then the rewrite rule should redirect anything that is not your domain name (including www) to the correct canonical host.

Have a look at the jdMorgan post in this thread in Apache forum [webmasterworld.com...]
8:43 am on Nov 20, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:May 8, 2008
posts:44
votes: 0


Yes, we recently added redirect no-www to www. What we need to change in this code?

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC]
RewriteRule ^(.*) [%1...] [R=301,NE,L]
8:49 am on Nov 20, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:May 8, 2008
posts:44
votes: 0


And you're right. Host name and domain name are pointing to the same webspace on server. Is this by default?
10:44 am on Nov 20, 2013 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month

joined:Apr 30, 2008
posts:2619
votes: 186


I would implement the code as suggested in the post of jdMorgan in the thread I linked to.

Host name and domain name are pointing to the same webspace on server. Is this by default?

This is something your web hoster has probably done.
1:38 pm on Nov 20, 2013 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 5, 2006
posts:3337
votes: 25


Not the "correct" way to do it but G seems to resolve itself to the domain name if a base tag is used in the header.