How will activate SSL on all pages ?
web page should always start with https .
http to https redirect? My magento verison 2.1.0.
Have you tried going to
stores -> configuration -> web in magento admin and changing:
Base URL to have https at the front
Base URLs (Secure) also make sure it has https at the front
auto redirect to base urls = yes 301 redirect
Use Secure URLs on Storefront = yes
What @chimper said should work. Did that resolve your issue @OKNSYN?
This is included in the Store URLs section of our User Guide: http://docs.magento.com/m2/ce/user_guide/stores/store-urls.html
When you are done with those changes in the config head over to https://www.ssllabs.com/ssltest/ and test your server to make sure it's A+ rating. It's not that hard to get an A+ level either.
Do this work on magento 2.1.5
Good afternoon,
The solutions given should work but I think you won't totally get the wanted solution. The following example illustrates this:
will redirect to
instate of
I think that you should add a htaccess or NGINX redirect for that. Besides that you have to ensure the base url of the css an js files are https to and you have checked all content tables for http:// links .
Let me know if my reply helped you solving your issue.