Server guru's how to initially setup domain with www rather than non-www?

Discussion in 'Search Engine Optimization' started by johndoetzu, Jun 3, 2007.

  1. #1
    I am setting up a Wordpress blog on a server over at Hostgator, with a reseller account. The problem I'm having is that I've done a significant amount of link building using www in front of my domains and my preference is to have www by default so as for consistency and proper PR distribution.

    As I've added the domains in WHM, it will not let me create the domains with the www in front, so the only way I can have the www is if I do 301 direction which I don't want to do.

    Why is it that some servers seem to default to one or the other as you set up domains, or am I mistaken and there's something I can do in the beginning?

    For example if you go to Matt Cutt's blog:

    http://www.mattcutts.com/blog/

    and hover over his internal links you will see that they all have the www in front. Whereas with the redirect workaround, you would not see the www on any of those links.

    Any suggestion of accomplishing this without using the htaccess redirect?
     
    johndoetzu, Jun 3, 2007 IP
  2. lkj

    lkj Peon

    Messages:
    729
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can put a redirect in httpd.conf.... but that is probably the same as .htaccess only takes less overhead and IO
     
    lkj, Jun 4, 2007 IP
  3. kh7

    kh7 Peon

    Messages:
    2,715
    Likes Received:
    109
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Also make sure you get yourself a google webmasters account and set the preferance to www....
     
    kh7, Jun 4, 2007 IP