RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]
htaccess redirect for SSL non-www to www
Posted by Unknown at 07:31
Use the following code in the htaccess file under the public_html folder for the concerned domain :
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment