Redirect all HTTP urls to HTTPS for frontend in magento
问题 I want to redirect all http urls to https in magento, but for front-endonly. In magento we have a setting to use secure urls for front-end as explained in this link: https://www.siteground.com/tutorials/magento/magento_ssl.htm but that applies to only pages shown after login or checkout. I have applied following code in my .htaccess file: RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L] It is working ok, but it is redirecting Admin panel urls to https as well. I