samedi 22 juillet 2017

Magento non www to www and http to https .htaccess

The below works fine but I get a redirects warning if http://mysite or https:// is used httpswww.mysite works fine. In magento admin I have Auto-redirect to Base URL set to yes (301 moved permanently)

what do I use for making Magento work work correctly with non www and https in one simple instruction My base url is httpswww.mysite

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire