redirects Url issue
Team,
I install ssl certificate its working fine but I have issue with Redirects Url how can i change Url from https://domain.com to https://www.domain.com
Thanks
-
Hello :) You can force the use of the "www" prefix for SSL by adding the following entries to the .htaccess file in your public_html directory: RewriteEngine On RewriteCond %{HTTP_HOST} ^EXAMPLE.COM$ [NC] RewriteCond %{HTTPS} on RewriteRule ^(.*)$ https://www.EXAMPLE.COM/$1 [R=301,L]
Thank you.0 -
Thanks Mate 0
Please sign in to leave a comment.
Comments
2 comments