what will be the best way to avoid duplicated content ?

Discussion in 'Search Engine Optimization' started by greekhand, Oct 29, 2007.

  1. #1
    hello ,

    what i mean is :

    http://www.url-for-example.com
    and
    url-for-example.com ....

    it's not the same for the google-bot and not good for seo

    what will be the best way to avoid that ?

    im using asp.net


    Thanks .
     
    greekhand, Oct 29, 2007 IP
  2. Matt B

    Matt B Active Member

    Messages:
    1,350
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    90
    #2
    There are a number of ways you can do this, I tend to use .htaccess.
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^yourdomain\.com
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=permanent,L]
    Code (markup):
    - Matt
     
    Matt B, Oct 29, 2007 IP
  3. Dwaighty

    Dwaighty Peon

    Messages:
    358
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dwaighty, Oct 29, 2007 IP