Mi rispondo da solo:
wp-config.php
Codice PHP:
/*
define('NONCE_SALT', '***');
il blocco seguente subito dopo le "Authentication Unique Keys and Salts"
*/
/* SSL */
define('FORCE_SSL_ADMIN', true);
// in some setups HTTP_X_FORWARDED_PROTO might contain
// a comma-separated list e.g. http,https
// so check for https existence
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
{
$_SERVER['HTTPS'] = 'on';
}
define('WP_HOME','https://crireggiolo.altervista.org/');
define('WP_SITEURL','https://crireggiolo.altervista.org/');
.htaccess
Codice PHP:
# # av:php5-engine
AddHandler av-php56 .php
# # av:Toolbar
SetEnv AV_TOOLBAR 0
# av:PHP-upload
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_input_time 300
# PHP-upload
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
## Force +https://*
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://crireggiolo.altervista.org/$1 [R=301,L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
risultato: http://crireggiolo.altervista.org/readme.html > https://crireggiolo.altervista.org/readme.html