.htaccess 301 redirect help - my code attached

Discussion in 'Site & Server Administration' started by conflictuniverse, Nov 1, 2007.

  1. #1
    Hi,
    I moved from http://www.conflictuniverse.110mb.com to http://www.conflictuniverse.110mb.com and did some checking from this site.

    http://www.websitegrader.com/default.aspx#ReportTop

    I am getting this message.
    =====================================
    Permanent Redirect Not Found

    Search engines often regard conflictuniverse.com and www.conflictuniverse.com as two different websites unless you take specific measures to signal to them that they are the same site.

    The best way to handle this situation is to setup what is known as a permanent redirect (or a "301" redirect) from one of these sites to the other. This way, any links that are pointing to the secondary site benefit the primary site, from an SEO perspective.

    We could not detect a permanent redirect for this site, so it may be experiencing the negative effects of link fragmentation (some of the inbound links may point to conflictuniverse.com and others to www.conflictuniverse.com)
    =========================

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

    Anyone tell what is wrong please, as I might be getting a bad page rank etc from this.
     
    conflictuniverse, Nov 1, 2007 IP
  2. conflictuniverse

    conflictuniverse Peon

    Messages:
    428
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    don't all rush at once to help
     
    conflictuniverse, Nov 1, 2007 IP
  3. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #3
    Nintendo, Nov 1, 2007 IP
  4. conflictuniverse

    conflictuniverse Peon

    Messages:
    428
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I moved from www.conflictuniverse.110mb.com to www.conflictuniverse.com

    The rest, as above
     
    conflictuniverse, Nov 1, 2007 IP
  5. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #5
    If you're trying to force the www. on to the URL when a URL is accessed with out it, use that code.
     
    Nintendo, Nov 1, 2007 IP