1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess Question?

Discussion in 'XenForo Questions and Support' started by kuyenmotdivad, Oct 22, 2010.

  1. kuyenmotdivad

    kuyenmotdivad Active Member


    I have installed XenForo in my http://chatfreaks.net/community/ and my question is can I put the included .htaccess file in my root http://chatfreaks.net folder or wont XenForo work right?

    What do these line do exactly in the .htaccess file?

        RewriteCond %{REQUEST_FILENAME} -[OR]
    RewriteCond %{REQUEST_FILENAME} -[OR]
    RewriteCond %{REQUEST_FILENAME} -d
    ^.*$ - [NC,L]
    RewriteRule ^(data|js|styles|install) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
  2. Blandt

    Blandt Well-Known Member

    Those are for the rewrite rules
    it tells apache to redirect paths to index.php. for the pretty URLs to work

Share This Page