Most websites can be forced to use SSL using the instructions provide in our article on forcing your website to use SSL. However, if you use the Premium Website Builder to create your site, that method may cause issues when publishing your site. The builder server will have difficulty communicating with your site if your builder publishing settings are set to use your domain name (instead of the server name). This can result in lost data in the eShop portion of your site when it's published.
Fortunately, the work around for this is quite easy to do in your .htaccess file. Below is the recommended code to put in your .htaccess file to force your site to use SSL but still allow the builder server to publish your site correctly.
Please note, yourdomain.com is just an example domain, be sure to replace that with your actual domain name.
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !=173.205.127.6
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!