1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

difference bitween http://domain and http://www.domain?

Discussion in 'Search Engine Optimization' started by Giamatti, Dec 6, 2008.

  1. #1
    Giamatti, Dec 6, 2008 IP
  2. FHM

    FHM Peon

    Messages:
    173
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should choose one and redirect the other one. That way you will only get links for one version and not split the effect of inbound links.
     
    FHM, Dec 6, 2008 IP
    Giamatti likes this.
  3. gr8liverpoolfan

    gr8liverpoolfan Notable Member

    Messages:
    6,719
    Likes Received:
    538
    Best Answers:
    0
    Trophy Points:
    285
    #3
    301 one to the other, and build all your links with it.

    You could also set your preference in your webmaster tools account.
     
    gr8liverpoolfan, Dec 6, 2008 IP
    Giamatti likes this.
  4. Giamatti

    Giamatti Well-Known Member

    Messages:
    1,319
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    148
    #4
    ok, how do i make a redirect or 301.. or is that the same?
    and wich one should i redirect? the http:// or the http://www
     
    Giamatti, Dec 6, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Like so. Be sure to replace domain.tld with the domain name you're using.

    
    RewriteEngine On
    Options +FollowSymLinks
    RewriteCond %{HTTP_HOST} ^domain.tld [NC]
    RewriteRule ^(.*)$ http://www.domain.tld/$1 [L,R=301]
    
    Code (markup):
    Make sure that goes into your domain root's (the folder with your site's home page) .htaccess file. Many FTP clients have hidden files (such as .htaccess) hidden from view. Make sure that the program can see them. If after doing that you still can't see it, you'll have to create one. Just create an empty file called .htaccess (save as "All Files" if using Notepad, or x.htaccess if using a Mac), paste the code in and save it. Then upload to your server. If you're using a Mac, remove the x so the server will recognize it as a .htaccess file.

    If you already have a .htaccess file there, then just add the above code, making the necessary change (replacing the example domain with your own).
     
    Dan Schulz, Dec 6, 2008 IP
    Giamatti likes this.
  6. Giamatti

    Giamatti Well-Known Member

    Messages:
    1,319
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    148
    #6
    thank you for this information, but what domain will be redirected, the http or the www
     
    Giamatti, Dec 6, 2008 IP
  7. Giamatti

    Giamatti Well-Known Member

    Messages:
    1,319
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    148
    #7
    ok i figured it out, thanks for the very usefull information.
    now ive got another question. i did some PR work on my www domain. Will this affect my http domain?
     
    Giamatti, Dec 6, 2008 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Whatever PageRank was assigned to the non-www version will be transfered over to the www.
     
    Dan Schulz, Dec 6, 2008 IP
  9. Revelations-Decoder

    Revelations-Decoder Well-Known Member

    Messages:
    3,028
    Likes Received:
    152
    Best Answers:
    4
    Trophy Points:
    190
    #9
    www version according to what I have read is old and so you should 301 redirect to http: version without the www IMHO.

    Saying that though I found this was not needed on one of my domains as it seems to happen automatically on the big G afrer a day or two, but may be that was just pure luck or something I did that I forgot I had put in place.
     
    Revelations-Decoder, Dec 6, 2008 IP
  10. Giamatti

    Giamatti Well-Known Member

    Messages:
    1,319
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    148
    #10
    thqanks for the information.. reputation given :)
     
    Giamatti, Dec 7, 2008 IP
  11. phpwnes

    phpwnes Peon

    Messages:
    509
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #11
    make sure some when they do linking forget the www or they link to the .index extention which wont bring much linking score
     
    phpwnes, Dec 7, 2008 IP
  12. hostindya

    hostindya Banned

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    thanks guy i got good info from this thread
     
    hostindya, Dec 7, 2008 IP
  13. alokseo

    alokseo Active Member

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #13
    Google consider WWW and non-WWW version of domains as two independent websites and index them separate, thus creating a duplicate website problem.
     
    alokseo, Feb 4, 2009 IP