diff --git a/Simple-guide-to-add-TLS-cert-to-cpanel.md b/Simple-guide-to-add-TLS-cert-to-cpanel.md index 9eb80bf..253324c 100644 --- a/Simple-guide-to-add-TLS-cert-to-cpanel.md +++ b/Simple-guide-to-add-TLS-cert-to-cpanel.md @@ -91,7 +91,7 @@ or, for a possibly faster approach try using `RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]` -`RewriteRule ^(([^/]+/)*)$ https://%{HTTP_HOST}/ [R=301,L]` +`RewriteRule ^(([^/]+/)*)$ https://%{HTTP_HOST}/$1 [R=301,L]` ``