Title: HTTPS problem
Last modified: August 21, 2016

---

# HTTPS problem

 *  Resolved [superflymonkeyboy](https://wordpress.org/support/users/superflymonkeyboy/)
 * (@superflymonkeyboy)
 * [13 years ago](https://wordpress.org/support/topic/https-problem-1/)
 * Hi. I see there is already a post on this ([here](http://wordpress.org/support/topic/https-bug-and-the-fix?replies=2)),
   but the solution doesn’t work. Basically after the person signs up on the RSVP
   form, it takes me to an HTTPS page (which I don’t have on the server).
 * I am guessing the problem is in this line of code…
    if(isset($_SERVER[‘HTTPS’])&&(
   trim($_SERVER[‘HTTPS’]) != “”) && (strtolower(trim($_SERVER[‘HTTPS’])) != “off”)){
   return “https”; } return “http”; } But the solution given doesn’t actually change
   that line of code. Can anyone help me to fix it so that it doesn’t try to go 
   to an HTTPS page. Here is my site to show the problem:
 * [http://www.barefootwedding.co.nz/rsvp/](http://www.barefootwedding.co.nz/rsvp/)
 * [http://wordpress.org/extend/plugins/rsvp/](http://wordpress.org/extend/plugins/rsvp/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [superflymonkeyboy](https://wordpress.org/support/users/superflymonkeyboy/)
 * (@superflymonkeyboy)
 * [13 years ago](https://wordpress.org/support/topic/https-problem-1/#post-3765511)
 * Ahhh haaaa. I am able to answer my own question. When I pasted in the code from
   the solution, I realised that there was more beyond the edges of the box that
   I’d missed. Basicall this part:
    && (strtolower(trim($_SERVER[‘HTTPS’])) != “
   off”)) { Needs to be added as you can see from the code I entered above which
   was from the solution, not the original code.
 * Hope this helps someone out there! Thanks for the other post from the other person
   further down the forum list.

Viewing 1 replies (of 1 total)

The topic ‘HTTPS problem’ is closed to new replies.

 * ![](https://ps.w.org/rsvp/assets/icon.svg?rev=3477888)
 * [RSVP and Event Management](https://wordpress.org/plugins/rsvp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rsvp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rsvp/)
 * [Active Topics](https://wordpress.org/support/plugin/rsvp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rsvp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rsvp/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [superflymonkeyboy](https://wordpress.org/support/users/superflymonkeyboy/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/https-problem-1/#post-3765511)
 * Status: resolved