redirect mydomain.com and www.mydomain.com

Discussion in 'Apache' started by leeds1, Dec 30, 2004.

  1. #1
    what's the correct code in htaccess to direct mydomain.com to www.mydomain.com ?

    if I do site:mydomain.com I get 30k pages and www.mydomain.com 133k pages

    could this be seen as duplicate content at all ?

    what's the correct coding ?
     
    leeds1, Dec 30, 2004 IP
  2. Matts

    Matts Berserker

    Messages:
    195
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Matts, Dec 30, 2004 IP
  3. Will.Spencer

    Will.Spencer NetBuilder

    Messages:
    14,789
    Likes Received:
    1,040
    Best Answers:
    0
    Trophy Points:
    375
    #3
    Does it have to be in .htaccess?

    This is what I am using in my httpd.conf:

     
    Will.Spencer, Dec 30, 2004 IP