Ed van der Meer Posted April 2, 2016 Share Posted April 2, 2016 I can't find it anywhere so I start to post it here. I want to have my site at SSL only without any redirect from Prestashop. Is that posible? When I do pagespeed checks I get a message that all pages are redirect to SSL. I know it's because when SSL is enabled in the backend it makes a modification at .htacces. But I want to have SSL on at my server with Apache 2.X So If anyone knows how to do this? Thanks. Link to comment Share on other sites More sharing options...
selectshop.at Posted April 2, 2016 Share Posted April 2, 2016 Seems your SSL certificate is not proper installed on your server... Normally the SSL certificate is installed directly for your domain, so on your dns-server you changed the IP to the one with SSL. In this case Prestashop will not write a redirect, but you must add on .htaccess only one line with the correct port to your domain. Please explain how you integrated the SSL certificate ? It is a multidomain SSL certificate ? SSL server certificates are not valid for to use on Prestashop, i.e. will cause problems. For some more technical (easy explained) details, please see also this link: https://help.directadmin.com/item.php?id=89 Link to comment Share on other sites More sharing options...
Ed van der Meer Posted April 3, 2016 Author Share Posted April 3, 2016 I'm running my own server and have all the software up-to-date except for php7 as PS will not run on it yet. My SSL certificate comes from Comodo and it correct installed. See this result: https://www.ssllabs.com/ssltest/analyze.html?d=applesupported.nl It is installed and configured in httpd-ssl.conf as well as in httpd-vhost.conf I run two domains on my server: 1- www.jurkofjurk.nl on port 80 2- www.applesupported.nl on port 443 In httpd.conf I have to listen on port 80, I have an include to extra/httpd-vhost.conf and httpd-ssl.conf I can not set to listen to port 443 only as my other site won't be found than. So in virtual host I have two entries. My guess is I have to tell apache when any request to applesupported.nl or www.applesupported.nl directly has to go to SSL on port 443. Now Prestashop has added it in the .htacces file and google says I need to get of the redirect for pagespeed. Am I clear? I hope so. Link to comment Share on other sites More sharing options...
selectshop.at Posted April 4, 2016 Share Posted April 4, 2016 The problem what I see, is that you are running two domains under same IP. So there is no possibility for to use port 443. If I would you, I split this and all will go uncomplicated. For a full SSL the best way is to redirect one certificate for one domain on a dedicated IP (which is also the requirement of Prestashop for SSL to work. Server certificates do no work with Prestashop). See here the problem with your certificate tested with same tool for your other domain: https://www.ssllabs.com/ssltest/analyze.html?d=jurkofjurk.nl - The web site does not use SSL, but shares an IP address with some other site that does. Link to comment Share on other sites More sharing options...
Ed van der Meer Posted April 4, 2016 Author Share Posted April 4, 2016 I think I have sorted it out. Changed the virtual host settings to Redirect plain http to https for applesupported.nl and www.applesupported.nl. Link to comment Share on other sites More sharing options...
selectshop.at Posted April 5, 2016 Share Posted April 5, 2016 So, your problem is solved ? Link to comment Share on other sites More sharing options...
Ed van der Meer Posted April 5, 2016 Author Share Posted April 5, 2016 Oh Yes it is.I will mark as solved. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now