Author Topic: Virtuemart SSL redirection  (Read 7397 times)

vargpr

  • Beginner
  • *
  • Posts: 32
Re: Virtuemart SSL redirection
« Reply #15 on: September 23, 2011, 11:35:34 AM »
Hi ,

I am having troubles in understanding where to place the code from Alex26

Please help!

Stonedfury

  • Jr. Member
  • **
  • Posts: 182
    • Pollen Ranch
  • Skype Name: Stonedfury
  • VirtueMart Version: 2.0.20b
Re: Virtuemart SSL redirection
« Reply #16 on: September 23, 2011, 15:55:26 PM »
in your template folder, the index.php
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.
I try to keep current versions installed. So atm JM2.5.11 VM 2.0.20b PHP 5.3 MySQL Apache

building252

  • Beginner
  • *
  • Posts: 15
Re: Virtuemart SSL redirection
« Reply #17 on: September 26, 2011, 09:35:37 AM »
Just wanted to say thanks to Alex26 for submitting that little nugget of code...this has been very frustrating to say the least. Https would work on all other pages except the checkout pages (which are the most important) this has got to be a bug in VM.

Anyhow, it's working now thanks to Alex26! Thanks again :)

mirrorsandglass

  • Jr. Member
  • **
  • Posts: 79
  • Time Is Precious, Waste It Wisely
Re: Virtuemart SSL redirection
« Reply #18 on: November 16, 2011, 05:51:33 AM »
[edit]Just noticed this is a bit late but might help someone searching for the same thing.[/edit]

If you are using SEF solutions that allow editing urls you can always just add ssl_redirect=1  to the end of the actual url you're redirecting to.
E.G.
index.php?option=com_virtuemart&Itemid=53&page=account.index
becomes:
index.php?option=com_virtuemart&Itemid=53&page=account.index&ssl_redirect=1
This should set ssl for account maintenance but the principal works for most urls.

Hope this helps.

floodhammer

  • Beginner
  • *
  • Posts: 9
Re: Virtuemart SSL redirection SOLVED
« Reply #19 on: February 19, 2012, 22:48:00 PM »
in checkout_register_form.php on line 86 change value="checkout.index" to value="checkout.index&ssl_redirect=1"

jimsake

  • Beginner
  • *
  • Posts: 9
  • take no prisoners..
Re: Virtuemart SSL redirection
« Reply #20 on: June 15, 2012, 05:37:32 AM »
Hi there,
i put SSL enabled only in the Admin area and worked!
people are too smart not to believe in God, but too stupid not to believe on themselves..

VirtueMart Forum

Re: Virtuemart SSL redirection
« Reply #20 on: June 15, 2012, 05:37:32 AM »