🔒 Closed Force SSL your Domain

Status
Not open for further replies.

tutor21

Established
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.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 619
    Views
  • 3
    Participants
Last reply from:
John__Wick

Trending Topics

Online now

Members online
729
Guests online
3,103
Total visitors
3,832

Forum statistics

Threads
2,338,231
Posts
29,302,915
Members
1,126,110
Latest member
tomdelarosa002
Back
Top