Those who are using Network Solutions as a hosting provider with a UNIX hosting package must be facing issues while setting-up redirection from HTTP to HTTPS. There many few ways to setting-up redirection through htaccess such as:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
OR
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^.*$ https://www.domain.com%{REQUEST_URI} [R=permanent,L]
OR
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
OR
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
None of these will work on network solutions.com and your website will stuck in an infinite loop and show error page.
Here’s the reason: Continue Reading >>
Recent Comments