indexed same page at different urls...need advice

Discussion in 'Google' started by mokab, Aug 28, 2008.

  1. #1
    My shopping cart works so that no matter what url you use, as long as you use the item url, regardless of what directory, it goes to the page. so

    /flowers/blue-olivia-flowers.html
    and
    /flowers/olivia-flowers/blue-olivia-flowers.html


    go to the same page.

    Google has indexed BOTH (and now I'm getting yelled at in my google webmasters dashboard. I have this situation for several items (I added the directory within 1 hour of the original items, but google visited within that time slot!!)

    I can't remove the url in webmasters because the url is still "live" by google's standards.

    If I block the original url (top) in robots.txt, will that affect google indexing the newer url (bottom)?

    Thanks!
     
    mokab, Aug 28, 2008 IP
  2. Chinchilla

    Chinchilla Peon

    Messages:
    148
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you have a .htaccess (you should do)

    Add this line -

    Redirect /flowers/blue-olivia-flowers.html http://putyoursitehere/flowers/olivia-flowers/blue-olivia-flowers.html
    Code (markup):
    That will redirect the old URL to the new.
     
    Chinchilla, Aug 28, 2008 IP
  3. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #3
    Chinchilla I don't think your solution will work for him as there are many pages not only this one.
    I would recommend modifying one of the rewrite rules you already have in .htaccess to eliminate one of the two rules (either the aaa/aaa-bbb.html or aaa-bbb.html).
     
    Lordo, Aug 28, 2008 IP
  4. rehash

    rehash Well-Known Member

    Messages:
    1,502
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    150
    #4
    modify .htaccess so /flowers/olivia-flowers/blue-olivia-flowers.html returns 404 and only /flowers/blue-olivia-flowers.html works
     
    rehash, Aug 29, 2008 IP
  5. seomadguy

    seomadguy Banned

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Alsodo not forget to use the URL removal in Webmasters' Tools as well as modification of your google sitemap.
     
    seomadguy, Aug 29, 2008 IP
  6. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #6
    It won't allow you unless the request returns a not found error!
     
    Lordo, Aug 29, 2008 IP
  7. forexSEO

    forexSEO Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If the page doesn't exist, or does a redirect it will let you remove it in WMT
     
    forexSEO, Aug 30, 2008 IP
  8. graphseo

    graphseo Banned

    Messages:
    161
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I suggest this:

    redirect 301 /flowers/blue-olivia-flowers.html http://putyoursitehere/flowers/olivia-flowers/blue-olivia-flowers.html
     
    graphseo, Aug 30, 2008 IP
    seo5 likes this.
  9. grungee

    grungee Well-Known Member

    Messages:
    262
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #9
    Simple way to do it would be to use the nofollow tag on the links for the urls you don't want indexed.
     
    grungee, Aug 30, 2008 IP
  10. IEmailer.com

    IEmailer.com Well-Known Member

    Messages:
    1,864
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    110
    #10
    IEmailer.com, Aug 30, 2008 IP
    seo5 likes this.