The structure looks like this:
html
->index.html
->subfolder
--->1.html
--->2.html
Create an htaccess file in the subfolder and add the following :
RewriteEngine on
RewriteRule ^$ /index.html [L,R]
Remove the R flag if want to internally redirect (without changing the url) /subfolder to /index.html .