using main instead of div and more changes to .htaccess file