You have setup SSL certificate and want to show entire site from https even if user access site without https for example if user access http://yourdomain.com it should automatically redirect to https://yourdomain.com If your script do not support internal SSL redirect then this can be easily setupĀ using this rewrite code in site .htaccess file