Login to whm using ssh root and password from atlas
Then search ssl in whm and select manage autossl and select let’s encrypt
Forced SSL redirection through virtualmin
Ip:10000
Go to webmin and then webmin configuration then select SSL encryption
Redirect non-SSL requests to SSL mode?
Add it in nginx config
Cd /etc/nginx niginx.conf
if ($scheme = http) {return 301 https://solarkart.ezysolare.com$request_uri; }
Redirect All HTTP
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
for Apache
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]
</IfModule>
#N WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Redirect 301 /45angularconnectors.htm http://www.controlwell.com/product-category/45-angular-conduit-glands/
Redirect 301 /90elbowconnectors.htm http://www.controlwell.com/product-category/90-elbow-conduit-glands/
Redirect 301 /90elbowflangeconnectors.htm http://www.controlwell.com/product/90-elbow-conduit-glands-with-flange/
Redirect 301 /accessories.htm http://controlwell.com/Generate_Product_PDF.php?id=1205
Redirect 301 /ahtdlconduits.htm http://controlwell.com/product/liquid-tight-conduits-type-ahtdl/
Redirect 301 /analogswitchingmodules.htm http://www.controlwell.com
Redirect 301 /asisafetywork.htm http://www.controlwell.com
Redirect 301 /beltalignmentswitches.htm http://www.controlwell.com
Redirect 301 /blindstops.htm http://www.controlwell.com/product-category/cable-gland-accessories/standard-polyamide-blind-stops/
Redirect 301 /brasscableglands.htm http://www.controlwell.com/product-category/cable-glands/standard-brass-cable-glands/
Redirect 301 /brasslocknut.htm http://www.controlwell.com/product-category/brass-ss-standard-lock-nuts/
Redirect 301 /bulkhousingdoublelock.htm http://www.controlwell.com/product/bulk-head-mount-housings-with-2-levers-gasket/
Redirect 301 /bulkhousingsinglelock.htm http://www.controlwell.com/product/bulk-head-mount-housings-with-1-lever/
Redirect 301 /bulkhousingsinglelockcover.htm http://www.controlwell.com/product/bulk-head-mount-housings-with-1-lever-cover/
Redirect 301 /cablechains.htm http://www.controlwell.com/product-category/cable-drag-chains/
Redirect 301 /cableglandacc.htm http://www.controlwell.com/product-category/cable-gland-accessories/
Redirect 301 /cableglands.htm http://www.controlwell.com/product-category/cable-glands/
Redirect 301 /cableglands.htm http://www.controlwell.com/product-category/cable-glands/