cancel
Showing results for 
Search instead for 
Did you mean: 

How will activate SSL on all pages ?

How will activate SSL on all pages ?

How will activate SSL on all pages ?

web page should always start with https .

http to https redirect? My magento verison 2.1.0.

6 REPLIES 6

Re: How will activate SSL on all pages ?

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

 

Re: How will activate SSL on all pages ?

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

--

Developer Relations, Adobe Experience Cloud
Problem solved? Click Accept as Solution!
Still stuck? Check out our documentation: https://magento.com/resources/technical

Re: How will activate SSL on all pages ?

base url : https://mysiteurl/

base url secure : https://mysiteurl/

Auto-redirect to Base URL : 301 yes

Use Secure URLs on Storefront : yes

 

 

is it correct ? @chimper @sherrie

Re: How will activate SSL on all pages ?

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.  

Re: How will activate SSL on all pages ?

Do this work on magento 2.1.5

Re: How will activate SSL on all pages ?

Good afternoon,

 

The solutions given should work but I think you won't totally get the wanted solution. The following example illustrates this:

 

http://www.example.com/test

 

will redirect to

 

https://www.example.com/

 

instate of

 

https://www.example.com/test

 

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.