Google listing my site multiple times with ?param=xyz

Discussion in 'Search Engine Optimization' started by zorde, Sep 10, 2007.

  1. #1
    This is probably a dumb question already answered somewhere here, I tried searching for it but with no luck.

    Basically I have an old site PR3 and a new site.

    when I type in "myolddomain.com" into google it returns a stack of results like "myolddomain.com/?hop=blah". in fact when I type "link:www.myNEWdomain.com"
    some of teh results are from "myolddomain.com/?hop=blah" (PR0) not "myolddomain.com" which is PR3.

    the ?hop is there because people are linking to myolddomain.com passing their affiliate id.

    How can I make it so Google sees these parameterised pages as myolddomain.com,

    Do I need to use a 301 redirect to get around this? If so what is the easiest way to do that? Apache change? or code change?
     
    zorde, Sep 10, 2007 IP
  2. chorizo

    chorizo Peon

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It sounds like you want to rewrite any incoming affiliate links to the primary domain, but how you do it depends on whether you need to keep tracking the affiliates or not.

    If you need to keep tracking the affiliates, I suspect you have to do it at a page level, rather than at the server...though I could be wrong about that.
     
    chorizo, Sep 11, 2007 IP
  3. zorde

    zorde Peon

    Messages:
    382
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I sorted it out using 301 redirects at the page level.

    Also I put in some server level 301 redirects so that non www domain references would redirect to www. somain references.

    Hopefully the SE's should pick up the change soon.


    Thanks for answering my question though.
     
    zorde, Sep 11, 2007 IP
  4. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #4
    i have had the same problem.

    but i have solved it.

    i have started to use sef url with mod_rewrite function and there were no ? in my urls. and the last step was blocking all the urls which contains ? with robots.txt file. just add

    disallow:/*?*

    to your robots.txt file
     
    trichnosis, Sep 11, 2007 IP