Jump to content

enabling SSL for ALL pages


leejsci

Recommended Posts

Dear PrestaShop

Good afternoon to you and I'm not the original dev and new to PS so please bare with me..:)

our domain is www.thatsitalia.com (PS 15.2) and hosted by BlueHost.

we have installed SSL and I can get the main page (www.thatsitaliashop.com) to work properly in SSL.  However, any links generated dynamically is not  take on the https:// in their href tag.

if I manually type in the https:// in the address.. it redirects me back to http:// ..:(

as per instruction (http://doc.prestashop.com/display/PS17/General+parameters) , we have verified that  "Enable SSL" under Preferences  > General is on.

I show the Preferences  > SEO & URLs  section  and there were 3 fields

shop domain : www.thatsitaliashop.com

SSL domain : www.thatsitaliashop.com

base URL : /

I have changed "SSL domain" to https://www.thatsitaliashop.com but that did not work at all..:(

I have tried to use .htaccess to redirect but that causes looping from https ->http with too many redirect error

so any insight as to what i have NOT checked or settings that i have missed.

I would greatly appreciate your assistance!

Thank YOU and have a great day!

JL

couple other things..

1. don't see PS_SSL_ENABLED table in "List of MySQL Tables" under Advanced Parameters  > SQL Manager

2. admin console does not have www  (https://thatsitaliashop.com/admincr/index.php)

Thank you once again!

JL

 

 

 

Edited by leejsci
adding more info (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Hi, I have the same problem, what additional information do you require to help me with this problem?

this is my version of php:

PHP 7.1.33-17+ubuntu20.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:47:49) ( NTS ) Copyright (c) 1997-2018
The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018
Zend Technologies with Zend OPcache v7.1.33-17+ubuntu20.04.1+deb.sury.org+1,
Copyright (c) 1999-2018, by Zend Technologies with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans

and this is my version of apache:

Server version: Apache/2.4.41 (Ubuntu) Server built: 2020-04-13T17:19:17

My problem is the same, when activating the Option "Activate SSL on all pages" the Administrative part of Presta Shop does not allow me to make any changes and every time I save, I redirect to make login, while having this option enabled if it works for me perfectly the Store on the Client's Side and I do not get the Error of "ERR_TOO_MANY_REDIRECTS", when through the database I disable the option "Activate SSL on all pages" the opposite happens, if it saves me and the administrative part works perfectly , but then the client-side store stays at "ERR_TOO_MANY_REDIRECTS" I hope I could have explained better xD Thanks in advance

Link to comment
Share on other sites

  • 3 weeks later...

Well I mention that the Error Persisted, apparently there is a kind of conflict with the use of SSL, I do not know if it is specific with CloudFlare, but after many tests, I decided to completely eliminate apache2 on the server and install nginx and it worked perfectly and the error did not occur again, so I imagine the problem comes with apache and the use of .htaccess

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...