bilis_money Posted June 15, 2007 Share Posted June 15, 2007 A very simple question. Is it fine to put .htaccess into sub directory. like for example this one below, /public_html/joomla/.htaccess or It's for the root directory /public_html/.htaccess only. Any advice or additional information from you will be highly appreciated. thanks in advance. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted June 15, 2007 Share Posted June 15, 2007 It all depends on which files you want to be affected by the .htaccess file. If you want all the files on your host to be affected, it wants to be in the root directory. If the .htaccess file is only for stuff in one particular directory, you want it in that particular sub directory. Idealy, you want it to be the case where you can put it into the sub directory. Since .htaccess files are quite slow, you'll want to avoid slowing your entire site down by putting it into the root directory. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.