How do i change www to just http://

Discussion in 'Site & Server Administration' started by ЄxDeus™, Apr 25, 2008.

Thread Status:
Not open for further replies.
  1. #1
    how do i change the www.site.com so when a user types that it sends them to to http://site.com and not the www. ?
     
    ЄxDeus™, Apr 25, 2008 IP
  2. Zwitterion

    Zwitterion Peon

    Messages:
    1,357
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think it's automatic or am I wrong?
     
    Zwitterion, Apr 25, 2008 IP
  3. ЄxDeus™

    ЄxDeus™ Well-Known Member

    Messages:
    2,860
    Likes Received:
    214
    Best Answers:
    1
    Trophy Points:
    155
    #3
    its not automatic i think thats just in the new wordpress
     
    ЄxDeus™, Apr 25, 2008 IP
  4. dgxshiny

    dgxshiny Greenhorn

    Messages:
    65
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    23
    #4
    Do a 301 redirect on any traffic to your site using the www. domain to the non-www.



    Create a .htaccess file with the below code, it will ensure that all requests coming in to www(dot)domain.com will get redirected to domain.com
    The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

    I couldn't post the code because i cant post links or anything yet, but see: webconfs.com/how-to-redirect-a-webpage.php
     
    dgxshiny, Apr 25, 2008 IP
  5. Reviewz

    Reviewz Peon

    Messages:
    601
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hope this helps:

    Just place this in the htaccess file.
     
    Reviewz, Apr 26, 2008 IP
  6. bond7007

    bond7007 Peon

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i dont know about it ... bbut i think www is optional
     
    bond7007, Apr 27, 2008 IP
Thread Status:
Not open for further replies.