Knowledgebase

Force SSL on all pages.

Problem:

How to force https on entire website.

Solution:

Use the .htaccess file. Edit the .htaccess file and add these lines.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R,L]
Note: Substitute domain.com with your website name.


Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Redirect (Views: 1317)
Hotlink Protection (Views: 1231)

Client Login

Email

Password

Remember Me