Results 1 to 12 of 12

Double URLS for static pages (duplicate content)

This is a discussion on Double URLS for static pages (duplicate content) within the General Discussion forums, part of the vBSEO SEO Plugin category; I just saw this in google webmaster tools Duplicate meta content PHP Code: http : //www.scorechase.com/gmat/gmat-test-experiences/8753-need-suggestion-how-improve.html  PHP Code: http : ...

  1. #1
    Member
    Real Name
    Webdzinez
    Join Date
    Nov 2008
    Posts
    41
    Liked
    0 times

    Double URLS for static pages (duplicate content)

    I just saw this in google webmaster tools

    Duplicate meta content

    PHP Code:
    http://www.scorechase.com/gmat/gmat-test-experiences/8753-need-suggestion-how-improve.html 
    PHP Code:
    http://www.scorechase.com/gmat/gmat-test-experiences/8753-need-suggestion-how-improve.html?t-8753.html= 
    It looks like google is considering it as duplicate entries, what should i do ?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    The second URL looks strange, didn't you have some other URL rewrite solution with urls like "/t-8753.html" before you installed vBSEO?

  3. #3
    Member
    Real Name
    Webdzinez
    Join Date
    Nov 2008
    Posts
    41
    Liked
    0 times
    Nope .... i used dynamic links (default vbulletin) before VBSEO .....
    Last edited by webdzinez; 11-25-2008 at 09:51 AM.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    I'm not sure where that URL comes from then, did you ever change your URL formats in vBSEO CP?

  5. #5
    Member
    Real Name
    Webdzinez
    Join Date
    Nov 2008
    Posts
    41
    Liked
    0 times
    Just configuerd them once and thats it. the strange thing is both the URLS work ..while the weird one should probably give an error ..... not found.

    I w

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    what's your htaccess? do you have any custom rules in there?

    the 2nd url should re-direct to the first. it does here, it does on my site.
    Last edited by briansol; 11-25-2008 at 02:46 PM.

  7. #7
    Member
    Real Name
    Webdzinez
    Join Date
    Nov 2008
    Posts
    41
    Liked
    0 times
    If you apply t-8753.html= infront of your thread URLS, does it gets redirected to the correct thread?

    Here is my htaccess for forums



    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    
    RewriteEngine On
    
    
    #__ VBSEO code
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.scorechase\.com
    RewriteCond %{REQUEST_URI} gmat/
    RewriteRule (.*) http://www.scorechase.com/gmat/$1 [R=301,L]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(ad_console/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    #__ VBSEO Code ends
    
    #_VBSEO Sitemap code
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    #_VBSEO Sitemap code ends
    
    
    RewriteCond %{HTTP_REFERER} !^http://scorechase.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://scorechase.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.scorechase.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.scorechase.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.openalternatives.org/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.openalternatives.org$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://openalternatives.org/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://openalternatives.org$      [NC]
    RewriteRule .*\.(swf|jpg|jpeg|gif|png|bmp)$ http://www.scorechase.com/ [R,NC]

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Try to add this right after "RewriteEngine On" line to perform redirect:
    Code:
    RewriteCond %{QUERY_STRING} ^t-[0-9]+\.html
    RewriteRule (.*) http://www.scorechase.com/gmat/$1? [R=301,L]

  9. #9
    Member
    Real Name
    Webdzinez
    Join Date
    Nov 2008
    Posts
    41
    Liked
    0 times
    ok it gets redirected now ... thnx!

  10. #10
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    your htaccess has some issues.

    1, you have the sitemap generator code in there twice. leave the first one in the vbseo block. remove the 2nd one.

    2, why do you have openalternative rules in there? I went to the site, and it's not even hitting the same code base it appears.

  11. #11
    Member
    Real Name
    Webdzinez
    Join Date
    Nov 2008
    Posts
    41
    Liked
    0 times
    ok i removed the sitemap generator code .. i didnt realize it was separate.

    openalternatives rule is to allow for hotlinking.
    Last edited by webdzinez; 11-25-2008 at 05:22 PM.

  12. #12
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    ahh, gotchya, for hotlinking only. ok.

Similar Threads

  1. Double Content ??
    By Ricken in forum Pre-Sales Questions
    Replies: 3
    Last Post: 01-02-2007, 01:05 PM
  2. Fear of double content
    By Palmclub in forum General Discussion
    Replies: 4
    Last Post: 01-01-2007, 11:58 PM
  3. Duplicate Content for Suggested URLs
    By voteforbird in forum URL Rewrite Settings
    Replies: 2
    Last Post: 08-25-2006, 05:08 PM
  4. Error Page is double content!
    By shaochun in forum Bug Reporting
    Replies: 9
    Last Post: 01-22-2006, 09:20 PM
  5. Double Content by using vBSEO?
    By Silmarillion in forum General Discussion
    Replies: 6
    Last Post: 08-29-2005, 11:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •