frontend templates and htaccess