how to redirect http to https using htaccess

Redirect your website HTTP to HTTPS. if have any issue redirecting in your HTTPS then follow your article.

how to redirect http to https using htaccess

Redirect your website HTTP to HTTPS and secure your website.

  1. login your Cpanel and find .htaccess file not have add/create new file 
  2. add the code
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
  3. then change the domain name .. 

you are done now you are forcefully redirecting HTTP to HTTPS 

if required help visit https://www.gowebs.in/