Welcome to WebmasterWorld Guest from 54.226.2.31

Forum Moderators: phranque

Message Too Old, No Replies

Duplicate content with 1&1 account name

     

web2008

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

5+ Year Member



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?

aakk9999

11:45 pm on Nov 19, 2013 (gmt 0)

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month



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...]

web2008

8:43 am on Nov 20, 2013 (gmt 0)

5+ Year Member



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]

web2008

8:49 am on Nov 20, 2013 (gmt 0)

5+ Year Member



And you're right. Host name and domain name are pointing to the same webspace on server. Is this by default?

aakk9999

10:44 am on Nov 20, 2013 (gmt 0)

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month



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.

piatkow

1:38 pm on Nov 20, 2013 (gmt 0)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month