Reirecting index.html to /forums/

Discussion in 'Site & Server Administration' started by Breakpoint, May 11, 2011.

  1. #1
    How tdo I do this in htaccess, it just leads me to a page that doesn't load.

    Here is my base htaccess file without redirecting. Please tell me what to add.

    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    Options +FollowSymLinks 
    RewriteEngine on 
    RewriteCond %{HTTP_HOST} ^mysite.com [NC] 
    RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] 
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName mysite.com
    AuthUserFile /home/mysite/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/mysite/public_html/_vti_pvt/service.grp
    
    Code (markup):
    Thanks
     
    Breakpoint, May 11, 2011 IP
  2. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #2
    hostimizer, May 11, 2011 IP
  3. mron3

    mron3 Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    Try this:
    Redirect /index.html /forums/
     
    mron3, May 12, 2011 IP