, ,

Forcing the use of https with Matomo

Here's a quick reminder of how to force redirection to https and the use of SSL in Matomo via the configuration file

Context

Depending on the type of hosting you choose to set up your Matomo On-Premise instance, it may be more or less easy to force the use of https. In any case, it is possible to do this at the Matomo configuration level.

Forcing SSL with Matomo

Place this line in the config/config.inc.php file:

force_ssl = 1

About the author
Thanh
Thanh

My name is Thanh Nguyen. I’ve been a web developer since 1998 and I was there for Zidane’s brace in the 1998 World Cup final.

Leave a Reply

Your email address will not be published. Required fields are marked *