Acaba sitem .com değil .xyz olduğundan .htaccess com yerine xyz mi yazmam gerekiyor ?
RewriteEngine on
RewriteCond %{HTTP_HOST} www.domain.com [NC]
RewriteRule .*$ http://domain.com/$1 [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]