http:// OR http://www. OR www.

Discussion in 'Link Development' started by shaklebolt, Nov 3, 2009.

  1. shaklebolt

    shaklebolt Active Member

    Messages:
    431
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #21
    Thats what I don't want, my PR split.

    Thanks for the info

    I'm using http://delhicaravan.com but people might use www or http://www without my knowledge.

    Thanks for the link, I'll check it out!

    Thanks but all I want is good results, correct or incorrect :)

    I think 99% of computers would have browsers that understand that. for the leftover 1%, they probably would not be interested in my homestay anyways.

    This is an excellent input. I'm just installing analytics on it. But I think this is small in exchange for a consolidated link and PR, isn't it?

    Thanks!

    I don't know myself!
     
    shaklebolt, Nov 5, 2009 IP
  2. shaklebolt

    shaklebolt Active Member

    Messages:
    431
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #22
    Yep. Some code if you can please :)

    Yep. Nice example.

    Code if you can :)

    thanks!

    Thanks for the input.

    dunno

    ? I couldn't get you

    I care more about PR and backlinks though...

    I don't think browsers are that dumb nowadaws.

    Sure maika, thank me for creating this thread lol!
     
    shaklebolt, Nov 5, 2009 IP
  3. geoiss2004

    geoiss2004 Guest

    Messages:
    1,454
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #23
    to do it, just stick this in your index.php

    <?php
    if (substr($_SERVER['HTTP_HOST'],0,3) != 'www') {
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: http://www.'.$_SERVER['HTTP_HOST']
    .$_SERVER['REQUEST_URI']);
    }
    ?>
     
    geoiss2004, Nov 6, 2009 IP
  4. shaklebolt

    shaklebolt Active Member

    Messages:
    431
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #24
    Ummm... I have a simple html site, no PHP involved...
     
    shaklebolt, Nov 6, 2009 IP