Thanh Nguyen
WordPress & Matomo Developer

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

I’m Thanh Nguyen, I build fancy and ergonomic websites since 1998 and Zidane’s double in the World Cup final.

Leave a Reply

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

You may also be interested in these articles