1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Running Site via HTTP & HTTPS - SSL

Discussion in 'Troubleshooting and Problems' started by Thomas P, Aug 22, 2011.

  1. Thomas P

    Thomas P Member

    Hello XF Community,

    we are about to prepare our migration from vB3 to XF, we installed XF1.0 in our testbed.

    When using HTTP everything works fine, but when I switch to SSL'ed HTTPS by changing the URL in the address bar XF jumps from HTTPS to HTTP and back again on different locations (forum home, thread etc.).

    When looking at the code I find both, which is quite odd:
            <span class="crumbs">                              <span class="crust" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">                     <a href="[URL='http://xenforo.com/community/view-source:http://xf.mcseboard.de/']http://xf.mcseboard.de[/URL]" class="crumb" rel="up" itemprop="url"><span itemprop="title">Home</span></a>                     <span class="arrow"><span></span></span>                 </span>                                                        <span class="crust" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
                        <a href="[URL='http://xenforo.com/community/view-source:https://xf.mcseboard.de/']https://xf.mcseboard.de/[/URL]" class="crumb" rel="up" itemprop="url"><span itemprop="title">Forums</span></a>                     <span class="arrow"><span>&gt;</span></span>                 </span>     
    Is there anything I'm missing?

  2. Thomas P

    Thomas P Member

    Maybe I should explain what my goals is: We have a SSL certificate, so users can browse our site via HTTP or HTTPS.
    Typically Mods & Admins use our site via SSL as well users who use a public WLAN. Others use plain HTTP.
    We don't do switching from HTTP to HTTPS or vice versa.

    Our vB is fine with that, but XenForo seems to behave different and jumps from HTTPS to HTTP - Why?
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Most links are relative. But some links use the Board URL and Home Page URL:

    Admin CP -> Home -> Options -> Basic Board Information

    So that is where there is potential for switching.
    Thomas P likes this.
  4. Thomas P

    Thomas P Member

    Hi Jake,

    thanks, afaik I can switch completely to HTTPS - we don't really need and want that.

    If only most links are relative: Is that something what could be fixed in the future? I hope so...

  5. Thomas P

    Thomas P Member

    A support ticket helped me, to summarize:
    1. deactivate twitter button for the time being as they don't support HTTPS via their API yet.
    2. Use the following in the ACP > Options > Basic Board Information > Board URL & Home Page URL: //www.yourforum.com
    Without the protocol information...
  6. MGSteve

    MGSteve Well-Known Member

    heh, cunning, I like it.

Share This Page