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:
After:
more info:
You do not have permission to view the full content of this post. Log in or register now.
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:
After:
more info:
You do not have permission to view the full content of this post. Log in or register now.
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
Last edited: