.htaccess dosyasını aşağıdaki gibi oluşturmuştum.

RewriteCond %{SERVER_PORT} !=443
RewriteRule ^ https://www.siteadresiniyazdim.com%{REQUEST_URI} [NS,R,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress