1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Auto www.domain

Discussion in 'White Hat SEO' started by 420friendly, Feb 8, 2012.

  1. 420friendly

    420friendly Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 12, 2009
    Messages:
    248
    Likes Received:
    68
    Location:
    Oz
    How do you guys make it to where when your domain typed like this: http://yoursite.com

    Automaticly goes to: http://www.yoursite.com

    What is the correct way to do this... basically the way YouTube does it.

    I know there is a few different ways to do it... I am asking how you think is best ;)
     
  2. idsignup

    idsignup Junior Member

    Joined:
    May 4, 2011
    Messages:
    195
    Likes Received:
    8
    Home Page:
    use .htacess with code

    replace your site
     
  3. 420friendly

    420friendly Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 12, 2009
    Messages:
    248
    Likes Received:
    68
    Location:
    Oz
    Why would you do it using the htaccess file and not just do it server side using linux?
     
  4. Seo Lover

    Seo Lover Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jan 30, 2011
    Messages:
    5,693
    Likes Received:
    4,117
    Gender:
    Male
    Occupation:
    Hanging Around Interwebs !
    Location:
    <-----------------Sin City
    If you use CMS like wordpress then you can set this in its admin properties .
    Many CMS and scripts have this option