Saturday, September 2, 2023

Set HTTP to HTTPS redirect in CWP


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

No comments:

Post a Comment

Resetting the DirectAdmin Password via SSH:

  Resetting the Password via SSH: Access the server as root:   Use an SSH program like PuTTY to connect to your server as the root user.   R...