Forces https

I’m sorry this repeat.

When I go to it still http(there no redirection of link) even with this lines added to .htaccess
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

When I created website with WordPress this works

I just tried to open and I was redirected to the https version. The .htaccess codes also look fine to me.