RewriteEngine On RewriteRule ^(.*)/$ index.php?pic=$1 RewriteRule ^[^/.]+\.(jpg¦gif¦png¦jpeg)$ %{REQUEST_URI}/ [R=301,L] So I'm using the above rule to rewrite files that look like this: www.mySite.com/folder1/folder2/index.php?pic=1.jpg to look like this: www.mySite.com/mainFolder/subFolder/1.jpg/ This rules works great. The problem I am having is that I would prefer to put the .htaccess file that I currently put in mainFolder, in subFolder, so that I can apply this any other folders that are created later on, without having to add .htaccess files, because the people who will be creating the folders in the future lack the technical abilities to create and write .htaccess files. Is there a rule that will allow me to put the above .htaccess folder, which currently resides in subFolder, into mainFolder, and still have these rules work?