@pharmokan: If you see my previous post carefully, you can enable Secure URL in Magento by going to Admin --> System --> Configurations --> Web --> Secure URL. In there you can set whether to have the Secure URL enabled for the whole site or for the checkout shopping cart only.
If you switch your base url like you show it, your site probably won’t work very well. All your links will get messed up as well.
Probably you want to go into System->Configuration -> Web and do this:
Panel for Unsecure URL = http://[your domain] for Base URL (or all the entries if you have a multi-site setup and need to point certain folders to another location)
Panel for Secure URL = https://[your domain] for Base URL
Select use secure in frontend = Yes
Select use secure in admin = Yes
Setting Use Secure in Frontend to Yes will secure your checkout and customer areas.
Here’s the problem I have with using HTTPS on my store:
I’ve setup SSL certificate and set my Secure Base URL to start with https://… I marked that I want to use secure URLs on Frontend and Backend. Unsecure URL starts with http://…
Now when I go to the home page of my store, I see this URL: http://www.ebooks.ee When I go to Login, the URL changes to: https://www.ebooks.ee and I login using my username and password… I see My Account Homepage under https://…
Now I click one of the product categories and suddenly I am not logged in any more and i see “Login” button at the top of my store, but if I press it, it logs me back in without asking any user details. If I browse any content pages right after My Account, systems stays under https://… but all categories and products show under http:// and as if I am not logged in… after visiting catalog, browsing text pages also continues under http://…
Now I browse into product categories and add a product to My Cart, I then go to Cart and hit “Go to Checkout” button… and only get page reload and stay in my Cart, no errors and no Checkout, under http://…
If I press “Login” button, system shows me My Account Dashboard and My Cart is empty. If I click on My (empty) Cart, I get it under http://… with the products I added while browsing Catalog. Everything looks like I am not logged in.
If I amend Unsecure Base URL to also start with https://..., thus having a whole website under SSL, everything works just fine! However I do not want whole website to be under https://… only My Account and Checkout.
Can this be a read/write permissions problem? As I also could not save product images in Backend after enabling https:// for admin pages. This was solved by changing CHMOD permissions on media folder.
What might be worth mentioning is that my hosing provider made a setting for HTTPS pages to be read from the same folder as HTTP pages… by using symlink I guess, but I am going to find out.
Screen shot of my current settings is attached. (Jah=Yes, Ei=No) Any help or ideas re. what could be causing this kind of problem will be highly appreciated!
I am also having problems with SSL implementation. I have the certified installed, and everything seems to work just fine, but if I try to buy something, clicking on the Confirmation button on the cart leaves me with a empty cart… Strange… In other server it worked out all right…
I have just enabled Secure URLs on the frontend of my site. My problem is that when I try to check out the page does not load (all other pages load perfectly apart from checout). It loads fine when I do not use the secure url. I have checked with my host and the SSL certificate is set up properly, I also have a unique IP set up. Does anyone know a reason for this and how I can fix it.
Regards,