RewriteEngine On

# Redirect HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

# Redirect non-www to www
RewriteCond %{HTTP_HOST} ^coverkingdom\.net$ [NC]
RewriteRule ^(.*)$ https://www.coverkingdom.net/$1 [L,R=301]