RewriteEngine On
# Eğer host www.xxxx.com değilse VEYA HTTPS değilse -> https://www.xxxx.com olarak yönlendir
RewriteCond %{HTTP_HOST} !^www\.xxxx\.com$ [NC,OR]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://www.xxxx.com%{REQUEST_URI} [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ https://www.xxxx.com/$1 [L,R=301]
Merhaba,
Her iki kodu da denedim. Google aramalarından gelen
http://xxxx.com/link.thml örneğini
https://www.xxxx.com/link.html yönlendirmiyor.