# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^ https://siteadi.com%{REQUEST_URI} [NS,R,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Çok teşekkür ederim hocam.Eğer wordpress için ssl yönlendirmesi yapmak istiyorsan aşağıdaki kodları ana dizinde bulunan .htaccess dosyasına ekleyin tabi site adını değiştirerek.
Bu arada site içinde ilgili alanları http den https çevirmek lazım yoksa bazı yerler http kalacaktır.
Kod:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} !=443 RewriteRule ^ https://siteadi.com%{REQUEST_URI} [NS,R,L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress