What’s the best way to redirect to HTTPS. I added the following code to the htaccess file which worked but when I logged in to the styling to the cpanel was missing. If I use this way how do I get the cpanel to style or is there a better way of doing through expressionengine?
http://http://RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?example\.net
RewriteRule ^(.*)$ https://www.example.net/$1 [R,L]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.