Apologies for what might be a newbie question -- hopong someone her can help.
Looking at our site (https://depressionforums.org/forums) speed metrics (e.g. gtmetrix) one of our main issues is landing page redirects, which are primarily used to direct traffic from http to https.
To achieve this we use the following .htaccess rules:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
However, I'm wondering if there is a more efficient/eloquent way in which we can do this that might avoid the landing page redirects, at least for http --> https?
Thanks in advance for any advice.
[Edit: This is a dedicated server, so we do have access to httpd.conf, etc.)