https://mertcangokgoz.com/wordpress-eklentisiz-ssl-destegi/
.htaccess
RewriteCond %{HTTPS} =on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)//(.*) HTTP/ [NC]
RewriteRule ^.*$ https://%{SERVER_NAME}/%1/%2 [R=301,L]
dipnot: eklemeyi unuttum kusura bakma