# Disable indexes, force HTTPS + www, and serve static index
Options -Indexes
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www\.safetyexpert\.ro$ [NC]
RewriteRule ^ https://www.safetyexpert.ro%{REQUEST_URI} [R=301,L]
DirectoryIndex index.html index.php
