I have a folder under my main directory called /files/ How would I write into my .htaccess file a command that would redirect users to www.mysite.com/files/index.html when they type in my websites web address say www.mysite.com ? Thanks.
Something like this should work: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$ RewriteRule ^(/)?$ files [L] Code (markup): Put this in your .htaccess file, in your root html folder, and that's it. I tested it... seems to be working fine with me.