adding .htaccess for ssl and rewriting to index.php