Need htaccess help :)

Discussion in 'Site & Server Administration' started by crazygirl, Nov 16, 2011.

  1. #1
    I have the following in my htaccess in both my root and forum root directories using pphpFox and vbseo

    RewriteCond %{HTTP_HOST} !^www\.webscutest\.com
    RewriteRule (.*) http://www.webscutest.com/forum/$1 [L,R=301]

    #redirect 301 http://www.webscutest.com/forum/ http://www.webscutest.com/forum/index.php
    #redirect 301 http://www.webscutest.com/forum http://www.webscutest.com/forum/index.php
    #redirect 301 http://webscutest.com/forum/ http://www.webscutest.com/forum/index.php


    Basically I want http://www.webscutest.com/forum/ to work right now it is just a blank page but if you go to http://www.webscutest.com/forum/index.php all is ok and all the forum links work just not http://www.webscutest.com/forum/ or http://www.webscutest.com/forum

    What should I have in there ?
     
    crazygirl, Nov 16, 2011 IP
  2. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #2
    Put this line in your forum folder .htaccess:
    
    DirectoryIndex index.php
    
    Code (markup):
    If you currently have some blank index.html file in your forum folder, removing it or renaming could help as well, instead of solution above.
     
    pr0t0n, Nov 17, 2011 IP