.Htaccess dosyasını bulun ve dosyanın içine girin
RewriteEngine On : bu kodu bulun altına
Bunları yapıstırın
Alıntı
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]