Top Left Text cha

Web & App Development

Usually your content management system will handle this, but if you by chance are hand-coding a site from scratch, you'll have to take care of the redirection from http to https to make sure the site is secure.  Below is the code that needs to go in the .htaccess file.

RewriteEngine On
RewriteEngine OnRewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  • No comments found

Leave your comments

Post comment as a guest

Your comments are subjected to administrator's moderation.