homepage Welcome to WebmasterWorld Guest from 54.161.228.29
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
Duplicate content with 1&1 account name
web2008




msg:4624610
 9:08 pm on Nov 19, 2013 (gmt 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?

 

aakk9999




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

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




msg:4624717
 8:43 am on Nov 20, 2013 (gmt 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]

web2008




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

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

aakk9999




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

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




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved