Just Host Web Hosting Help
Force SSL on all pages.
Summary
You can force all of your pages to use https. To do this you will need to modify your .htaccess file.
Force SSL
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
Note: Substitute example.com
with your website name.
Knowledgebase Article
34,991 views
bookmark
share
tags: htaccess ssl website
(updated 351 days ago)
34,991 views
bookmark
share
Share or save this via:
tags: htaccess ssl website
(updated 351 days ago)
Recommended Help Content
What to do if Google has indexed your addon domain with https (updated 740 days ago)
How to use a WildCard SSL Certificate (updated 252 days ago)
How to force a resold account's owner to update their password (updated 251 days ago)
Related Help Content
What is the .htaccess file and where can I find more information? (updated 129 days ago)
When I try to log into my OSCommerce shopping cart using https://secure.Justhost.com/~username url, my shopping cart isn't the same. It is as though I have 2 carts, one for HTTP (unsecure) an (updated 1422 days ago)
This article explains error pages and how they can be customized. (updated 196 days ago)
How to add a new SSL certificate for your different WM services. (updated 107 days ago)
Where do I get a copy of the site seal for my SSL I purchased through Just Host? (updated 391 days ago)
How to renew an existing SSL certificate--or purchase a new one, within your cPanel (updated 346 days ago)
To help with installing an SSL certificate for an account on a dedicated server through the WHM (updated 63 days ago)
How do I perform a URL redirect/rewrite using the .htaccess file? (updated 367 days ago)
E-mail
Twitter
Google Bookmarks
Facebook
MySpace
Digg
Reddit
Delicious
LinkedIn
StumbleUpon