All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

How to control http/https in the result_page parameter

Stephen 2 Jul 2013 12:22 question, complete

Hi Low,

My site has a large extranet area that's under https, as well as a public facing area that we like to use http for. Both parts of the site have Low Search forms.

In order to ensure that logins, system messages, etc are using https in the extranet (to avoid security warnings), I have the site_url set to use https in my config.php file.

This has been working fine, except I'm just working on the public facing search forms again and noticed that the Low Search results are all using https now. This is fine for the searches in the extranet, but not the public facing searches.

For now, I've hard-coded a full URL in the result_page parameter, but this doesn't play nicely with version control of course, and makes testing the site awkward. I also tried using {site_url} in the result_page parameter but that didn't parse.

So do you have any other ideas/variables that can be used for this at all?

Thanks,

Stephen

Replies

  1. Low 3 Jul 2013 07:28

    Using the full URL is the only option right now. I'll look into improving that by using some sort of parameter to force http/https.

  2. Stephen 3 Jul 2013 10:38

    Hi Low, thanks for this.