Bir problem yok hocam yönlendirmelerde sorunsuz
Not: eğer benzer işlev görmesini istiyorsanız bunu da kullanabilirsiniz.
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{REQUEST_URI} !^/robots.txt$
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]