Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Base domain in email messages [RESOLVED]

JanKrohnJanKrohn Vaals New
edited January 2018 in Vanilla 2.0 - 2.8

Hi,
Is there any known way to set the base domain for links in outgoing email messages?
Right now, all links point back to http://example.com whereas I'd prefer for the links to point to https://www.example.com

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    You set that up with your host company and or where you got your domain. SSL certificates are obtained from your host as well. Ask them.

  • @vrijvlinder said:
    You set that up with your host company and or where you got your domain. SSL certificates are obtained from your host as well. Ask them.

    I don't think that is the question he is asking. I think he asking how to set the scheme/protocol in vanilla so tha the link are transpire to the email notifications.

    grep is your friend.

  • Exactly. Right now, when someone clicks through an email link, they come out on the non secure version of the site.

  • are you forcing https currently?

    grep is your friend.

  • x00x00 MVP
    edited January 2018

    the scheme is general taken from the envirment that sends the notification. if the person triggering the notification accessed the site over http the email will be http not https

    grep is your friend.

  • Thanks! Solved by adding the following to htaccess:

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Sign In or Register to comment.