307: How to force your Premium Website Builder website over SSL
Written by Brad MarkleSome users may require that their website built with the Premium Website Builder force users to visit the site over SSL. For example, if you are selling items using eshop, then your merchant provider may require that your website use SSL.
While we do have an article on how to force your website over SSL, this will cause issues with the Site Builder. When forcing SSL, the Site Builder will not be able to communicate with the server correctly, and you may lose data in your shopping cart. To resolve this issue, we've modified the .htaccess rewrite code so that all traffic will go over SSL EXCEPT traffic from our builder at builder.inmotionhosting.com (which has an IP address of 74.124.194.113).
To force your Premium Website Builder to use SSL, insert the following code in your .htaccess file:
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !=74.124.194.113
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
In the above example, please be sure to replace www.yourdomain.com with your actual domain name.
Latest Questions
Need more Help?
Search
Ask the Community!
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |

