1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Duplicate listings - With & Without WWW

Discussion in 'Search Engine Optimization' started by SaleemY, Aug 28, 2005.

  1. #1
    http://www.google.co.uk/search?q=acnesprayaway&hl=en&lr=&filter=0

    I noticed that there are duplicate results for the above query (same pages from same site).. The only difference being that some listings have the WWW on the front, whilst others dont.

    Whats going on here? Could have a bad effect if not fixed? How can it be fixed?
     
    SaleemY, Aug 28, 2005 IP
  2. webmistress

    webmistress Guest

    Messages:
    485
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What's happening is that Google is interpreting www.site.com and site.com as 2 different websites hence listing duplicate listings. Choose only one domain, either www.site.com or site.com and promote only one of it. Things will be back to normal once the search engines see that you're giving more importance on a particular domain set and will discard the other.

    Hold the breast
     
    webmistress, Aug 28, 2005 IP
  3. SaleemY

    SaleemY Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your reply mistress. So I should not worry about any issues of dulpication and just focus on building links with one version and stick to it?
     
    SaleemY, Aug 28, 2005 IP
  4. webmistress

    webmistress Guest

    Messages:
    485
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Absolutely my love, you've heard me right ;)
     
    webmistress, Aug 28, 2005 IP
  5. expat

    expat Stranger from a far land

    Messages:
    873
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's a know problem with G

    Most likely you linked yourself to both versions www and non www or someone linking to you did not use the www or non www.

    To solve this for G best to use a mod_rewrite resulting in a
    301 redirect from non to www or the other way round.

    A 301 redirect will avoid or eliminate duplicate penalties, transfer links and pr etc.

    If you need help with this do a search here for mod_rewrite

    Best of luck
    Expat
     
    expat, Aug 28, 2005 IP
    webmistress likes this.
  6. markhutch

    markhutch Peon

    Messages:
    357
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Place the above code into your .htaccess file if you want to remove the www from your URL address. If you want to redirect all pages to HAVE the "www" reverse the URL's above. Please, remember to change your-comain.name.com to your real URL address.
     
    markhutch, Aug 28, 2005 IP
  7. SaleemY

    SaleemY Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi Markhutch,

    Thanks. Is that code a mod-rewrite resulting in a 301 redirect?
     
    SaleemY, Aug 28, 2005 IP
  8. markhutch

    markhutch Peon

    Messages:
    357
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yes, that's what it does.
     
    markhutch, Aug 29, 2005 IP
  9. SaleemY

    SaleemY Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^my-domain.com [NC]
    RewriteRule ^(.*)$ http://www.my-domain.com/$1 [L,R=301]

    is that right????????
     
    SaleemY, Sep 5, 2005 IP
  10. expat

    expat Stranger from a far land

    Messages:
    873
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #10
    not entirely special chars (e.g. dots) need escape

     
    expat, Sep 5, 2005 IP
  11. SaleemY

    SaleemY Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    thanks a bunch.......... ill use that code u quoted...
     
    SaleemY, Sep 5, 2005 IP
  12. SaleemY

    SaleemY Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    whats with the slash in the funny location? my-domain\.com
     
    SaleemY, Sep 5, 2005 IP
  13. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #13
    See above :)
     
    T0PS3O, Sep 5, 2005 IP
  14. SaleemY

    SaleemY Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

    what about that - saw it on a different site without the first line: [Options +FollowSymLinks]?
     
    SaleemY, Sep 5, 2005 IP
  15. Willy

    Willy Peon

    Messages:
    281
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #15
    'Options +FollowSymLinks' is needed in some cases depending on your Apache configuration. Leaving it in won't do any harm, removing it might. Just keep it ;)
     
    Willy, Sep 5, 2005 IP
  16. markhutch

    markhutch Peon

    Messages:
    357
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Anyone good a good code for moving ALL sub domains to the root index.html page. Just in case someone wants to get rid of subs and go with pure results.
     
    markhutch, Sep 5, 2005 IP
  17. Willy

    Willy Peon

    Messages:
    281
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #17
    To redirect all subdomains to the actual domain (though I'm not entirely sure why you'd like to do that), just use the same mod_rewrite code posted earlier in this thread, except that you need to replace the RewriteCond line as follows:

    RewriteCond %{HTTP_HOST} ^[^.]+\.domain\.com$ [NC]
     
    Willy, Sep 5, 2005 IP
  18. markhutch

    markhutch Peon

    Messages:
    357
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Thank you, Willy.
     
    markhutch, Sep 7, 2005 IP