• Support will be limited until May 8th, as I will be out of the office travelling. Thank you for your patience and understanding.

Add rules in htaccess

Status
Not open for further replies.

Nirjonadda

Customer
Fillip H., Please Add this rules in your htaccess



Code:
RewriteEngine On

# Force SSL:
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

# Force www:
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
 
Status
Not open for further replies.
Back
Top