Plesk

A website hosted in Plesk shows wrong website content when opened over HTTPS after migration from a legacy Plesk version

Symptoms

Cause

The domain is running in "Separate SSL/TLS and non-SSL/TLS content" compatibility mode.

Domains in Plesk 11 and earlier releases had their content stored in separate directories for HTTP and HTTPS:

Resolution

  1. Connect to the Plesk server via SSH.

  2. Disable the compatibility mode in the Plesk database:

    # plesk db "UPDATE hosting set same_ssl='true' WHERE same_ssl='false';"

  3. Repair web-server configuration:

    # plesk repair web -y