RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^ https://www.site.net %{REQUEST_URI} [NS,R,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress