What's new

Tutorial Force SSL your Domain

tutor21

Eternal Poster
Joined
Oct 20, 2015
Posts
787
Reaction
597
Points
308
This is just my backup post in case I will need this for future reference. Anyone can try this one as well.

How to force SSL your domain

Option 1


create or locate .htaccess file in your file manager and input this code below


RewriteEngine On

RewriteCond %{HTTPS} off

RewriteCond %{REQUEST_URI} /[www.ferdinandtutor.com]/

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]



if it doesn't work, try this



RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ You do not have permission to view the full content of this post. Log in or register now. [R,L]


Replace ferdinandtutor to your own domain

Before:

7A63E91D-8E8C-4A38-8A91-4E2CE6CAF31F.jpeg



After:



EBF27FAC-6D81-4622-B763-DCC6A6ABF865.jpeg



more info:

You do not have permission to view the full content of this post. Log in or register now.
 

Attachments

Last edited:

Similar threads

Back
Top