ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using secure Path Variable (https and ssl protection.)

September 25, 2009 6:25pm

Subscribe [2]
  • #1 / Sep 25, 2009 6:25pm

    Latitude 10

    18 posts

    Hi community.
    I have a “How to” that maybe somebody has answered before but I didn’t find that answer. Is there any way I can use the {path = "templategroup/template"} to generate a secure link?  I mean, instead of have the http://www.blablabla.... I need the https://www.otherblablabla....

    Is there anyway, modification to the core or plugin I can use for this purpose? Thanks for your answers.

  • #2 / Sep 26, 2009 8:12am

    Ingmar

    29245 posts

    The {path=} variable links are derived from your various URL settings in the Control Panel (site url, etc.) - just use URLs beginning with https:// there.

  • #3 / Sep 28, 2009 11:14am

    Latitude 10

    18 posts

    Thanks for the answer.
    But what I need is to generate that URL just for some pages, not for all. So I thougth it will be a special param for this path variable to turn the normal URL to a HTTPS one.

    Any ideas?

  • #4 / Sep 28, 2009 3:59pm

    Ingmar

    29245 posts

    Unless you can come up with a server side rewrite of sorts, I’d recommend to use some other custom variable instead of {path=}, or simply hard code those links.

  • #5 / Sep 28, 2009 4:35pm

    Latitude 10

    18 posts

    ok Thanks.
    Looks that the way I wanted to do it do not exist 😛

  • #6 / Sep 28, 2009 4:39pm

    Ingmar

    29245 posts

    That’s right. you could always make a feature request for it, of course, too ...

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases