Avoiding Duplicate Content

Discussion in 'Apache' started by applehost, Aug 17, 2012.

  1. #1
    In my htaccess i have added following rule...

    ## detailjob.php?jobid=1 becomes /job/1
    RewriteRule ^job/([0-9]+)? detailjob.php?jobid=$1 [QSA,L]

    But some optimization software told me "Use a 301 redirect to force search engines to see the correct version"

    www.domain.com/job/3793 can be also seen as www.domain.com/job/3793/

    Please tell me what changes i need to do in htaccess rule?
     
    applehost, Aug 17, 2012 IP
  2. alexkarma

    alexkarma Well-Known Member

    Messages:
    63
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #2
    I'd like to know, as well.
     
    alexkarma, Aug 17, 2012 IP
  3. war_machine

    war_machine Active Member

    Messages:
    1,319
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    53
    #3
    UMS, that is actually a very old Google blog post. Panda pretty much changed a lot of things. David has it right. It is bad to copy content from the web and put it on your web site. Google doesn't officially call a duplicate content penalty a "penalty" because it is a filter. When the filter detects a page using content taken from other sites, it reduces the rank position for that page. It only affects the entire site if you have too many of those pages, such as with autoblogs.

    While Google doesn't officially call it a penalty, if it reduces the rank position for the duplicate content page, and it walks like a duck and quacks like a duck, ...

    David, if you are concerned about Disclaimer, Privacy Policy, Terms of Use, About Us, and Contact Us pages that you copied from other sites, either add the robots nofollow meta tag to those pages (as mentioned above) or use the robots.txt file to block those pages from spiders. I have been doing SEO since 1997 and I use both on my sites.
     
    war_machine, Oct 4, 2012 IP
  4. jimrom

    jimrom Member

    Messages:
    25
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    43
    #4
    No, it doesn't. It filters that content out of the search results if it is on a lower ranked page to begin with. However, if your page is higher ranked for the subject matter, it shows your content and filters out the other pages. In other words, make sure your duplicated content, no matter how informative it is, is outweighed by original content.
     
    jimrom, Oct 4, 2012 IP
  5. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #5
    Well, you can just add another line in your .htaccess to 301 redirect all those posts not ending with a backslash, and change your original rule to add a backslash. So your htaccess would look something like this:
    
    ## detailjob.php?jobid=1 becomes /job/1/
    RewriteRule ^job/([0-9]+)/$ detailjob.php?jobid=$1 [QSA,L]
    RewriteRule ^job/([0-9]+)$ /job/$1/ [R=301,L]
    
    Code (markup):
     
    pr0t0n, Oct 7, 2012 IP
  6. LuiFigo

    LuiFigo Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I think duplicate content can be avoided using duplicate checker before publishing your content web.
     
    LuiFigo, Nov 5, 2012 IP