Chrome and Firefox have started showing insecure warnings on sites without SSL. Without SSL, your website will show insecure to the visitors. Therefore, using an SSL-encrypted connection for safety, accessibility or PCI compliance reasons is necessary. It becomes very important to redirect from HTTP to HTTPS.
......................Here is the code............................
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^pemudaa.com [NC]
RewriteRule ^(.*)$ https://www.pemudaa.com/$1 [L,R=301]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]