My site is http://website.com, but most links point to http://www.website.com

Discussion in 'Search Engine Optimization' started by Sleepy_Sentry, Aug 9, 2007.

  1. #1
    My site, http://www.esgameservers.com, uses http://website.com for its URLs instead of http://www.website.com.

    The problem is, most of my links point to http://www.esgameservers.com instead of http://esgameservers.com. I would normally change my .htaccess so all links point to http://www.esgameservers.com, but I have a very popular page that has over 2800 quality backlinks pointing to http://website.com subpage of my site.

    Would it be a good idea to change my .htaccess so that http://www. links redirect to http:// links? What .htaccess code would I use to accomplish this? Considering most of my links point to http://www.website.com, would I notice a positive SEO effect by redirecting the links?
     
    Sleepy_Sentry, Aug 9, 2007 IP
  2. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #2
    you can use 301 redirect for redirecting with www option to without www option
     
    trichnosis, Aug 9, 2007 IP
  3. BlindCat

    BlindCat Banned

    Messages:
    415
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just change your "Preferred domain" in google webmaster central.
     
    BlindCat, Aug 9, 2007 IP
  4. Barre Tire

    Barre Tire Peon

    Messages:
    1,193
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    0
    #4

    The only problem is that does not help on the other SE'S
     
    Barre Tire, Aug 9, 2007 IP
  5. josh_coffman

    josh_coffman Peon

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    301 redirect www to non-www

    Try this in your .htaccess:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www.esgameservers.com [NC]
    RewriteRule ^(.*)$ http://esgameservers.com.com/$1 [R=301,L]

    Since it is kind of a long domain, I would go with non-www anyway.
     
    josh_coffman, Aug 9, 2007 IP
  6. Sleepy_Sentry

    Sleepy_Sentry Well-Known Member

    Messages:
    869
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Thanks for the help guys. I looked over my site and all my menu links point to http://www and most of the links to my site's homepage point to http://www.
    Would changing to http://domain.com be a bad idea because of this?
     
    Sleepy_Sentry, Aug 9, 2007 IP
  7. BlindCat

    BlindCat Banned

    Messages:
    415
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Well ofcourse...But google holds tha major market share. So i wouldn't be too bothered.

     
    BlindCat, Aug 9, 2007 IP
  8. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I would, there's been too many horror stories of peoples domains being de-indexed after altering the prefered domain in Webmaster Tools.

    Never use it, always use 301 re-direct via .htaccess for setting prefered URL's.
     
    sweetfunny, Aug 9, 2007 IP