Duplicate content and url rewriting with Drupal

Discussion in 'Site & Server Administration' started by subnet_rx, Oct 1, 2007.

  1. #1
    Drupal has an option to rewrite URL's under another name. So, I could have an article like http://www.mysite.com/myarticle. It would also have a node address like http://www.mysite.com/node/100. Do you think this would suffer a duplicate content penalty if some sites link to the node address and some sites link to the rewritten address?
     
    subnet_rx, Oct 1, 2007 IP
  2. jinnnguyen

    jinnnguyen Peon

    Messages:
    117
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jinnnguyen, Oct 1, 2007 IP
  3. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #3
    I guess Pathauto module should create URL alias for you and replace existing pages.
     
    godmode, Oct 1, 2007 IP
  4. Solid_Nuts

    Solid_Nuts Active Member

    Messages:
    886
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #4
    what jinnnguyen said is correct, search for drupal's Global Redirect module and that should work, personally i have noticed in Google's webmaster tools that it takes a while for Google to register the 301 redirect so i just avoid re-writing my drupal urls from now on.
     
    Solid_Nuts, Oct 1, 2007 IP
  5. NoIppo

    NoIppo Well-Known Member

    Messages:
    618
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Pathauto does not replace existing pages, only create alias.
    Global Redirect is the correct cure.
     
    NoIppo, Oct 1, 2007 IP
  6. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #6
    lol. you could be right. am just starting with Drupal. however can you tell me what this options exactly does?

    I was thinking it replaced node/XX into new url. The node/xx is deleted and no longer available.

    Can you help?
     
    godmode, Oct 1, 2007 IP
  7. jinnnguyen

    jinnnguyen Peon

    Messages:
    117
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Godmode,
    Drupal by default came with a built-in 'path module' which allowed you to change the URLs to whatever you wished but you must do it manually one-by-one.
    Pathauto, as the name suggested, will automatically creating an alias for URLs on-the-fly based from your topic title.

    However, when created URLs alias, the default path 'node/XX' still existed in the system. We'll ran into a duplicated situation: example.com/node/XX -> the content can be accessed same as -> example.com/articles

    That's why Global redirect module helped to 301 redirected example.com/node/XX -> example.com/articles
     
    jinnnguyen, Oct 3, 2007 IP
    godmode likes this.
  8. godmode

    godmode Well-Known Member

    Messages:
    4,453
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    190
    #8
    Thanks for the explanation. I already downloaded and enabled that module. seem to be working fine. Cheers for that!
     
    godmode, Oct 3, 2007 IP
  9. subnet_rx

    subnet_rx Well-Known Member

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    #9
    Yeah, thanks for the help, installing that module now.
     
    subnet_rx, Oct 3, 2007 IP
  10. LustForJoy

    LustForJoy Active Member

    Messages:
    289
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    68
    #10
    I have the same problem with my site www.magicofword.com.

    I already installed the Global Redirect Module and activated it for all pages.

    Unfortunately, I still seem to hava issues concerning duplicate content...what is the cure? Can anybody help?

    Thank you!
     
    LustForJoy, Sep 16, 2009 IP