Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Issue :

Need to redirect https://domain.com to https://www.domain.com for SSL purposes.

Solution :

Use the following code in the htaccess file under the public_html folder for the concerned domain :

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]


Shares
Contact Us On WhatsApp