More and more websites switch to https:// in order to improve visibility on major search engines and site security. WestNIC offers free, lifetime SSL (automatic renewals every 90-days) for any website - commercial or personal. It's good idea to secure your website today!
If you don't have valid SSL, please contact us with list of domain names and we will add https:// within 72 hours. If you do have valid SSL and wish to disable http:// (force https://), please add following lines to your .htaccess file located inside public_html folder:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
Please save .htaccess file then try to access website without https://, for example:
Browser will instantly redirect all traffic to secure Apache port: