www version doesn't load!?!?

Discussion in 'Blogging' started by xxMirceaxx, Apr 14, 2009.

  1. #1
    Can you take a look and help me please?
    http://tatanano.org/
    http://www.tatanano.org/

    I also tried redirecting non-www to www, and although I copied the htaccess from my other blogs where it is working, here all was screwed up.
    Will give green, ofcourse!
     
    xxMirceaxx, Apr 14, 2009 IP
  2. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #2
    both are working good! just checked!
     
    olddocks, Apr 14, 2009 IP
  3. Hoster1983

    Hoster1983 Active Member

    Messages:
    500
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Don't copy the whole .htaccess file. Instead, delete .htaccess existing one, then create a new one and include this code:


    The code to redirect tatanano.org to www.tatanano.org would be as follows.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www\.tatanano\.org [NC]
    RewriteRule ^(.*)$ http://www.tatanano.org/$1 [L,R=301]
    </IfModule>

    The code to redirect www.tatanano.org to tatanano.org would be as follows.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^tatanano\.org [NC]
    RewriteRule ^(.*)$ http://tatanano.org/$1 [L,R=301]
    </IfModule>



    Use either of the code set to your preference.
     
    Hoster1983, Apr 14, 2009 IP
  4. vrktech

    vrktech Well-Known Member

    Messages:
    449
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #4
    vrktech, Apr 14, 2009 IP