RewriteEngine On RewriteBase /joal-demos RewriteRule ^$ www/ [R=301,L,NE] RewriteRule ^index\.html$ www/index.html [R=301,L,NE]