RewriteEngine On
#ATIVAR HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#FIM ATIVAR HTTPS

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1

<IfModule mime_module>
  AddHandler application/x-httpd-ea-php70 .php .php8 .phtml
</IfModule>