htaccess redirect http to https

0.28K views
no comments
23 Feb 2017 1:50 am

This is happens to me and #valcatohosting allowed to use free #HTTPS #SSL  for website

Other mostly #hosting companies are providing free for #SSL #wordpress websites only

<IfModule mod_rewrite.c>
RewriteEngine On
#for to https - END code
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
#for to https - END code
<IfModule mod_rewrite.c>

NOTE:Your Email Address will be not shown and please do not add spamming comments because here is REL="NOFOLLOW" on your links and comments also moderated shown.
<code>Put html css or any language code under this tag</code>