By 23 febbraio 2017 0 Comments

WordPress – Redirect da Http a Https via .htaccess

Il seguente codice per .htaccess funziona egregiamente per gestire la redirezione da http a https in WordPress :

# BEGIN WordPress
RewriteEngine On
RewriteCond %{HTTPS} !on           
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Redirect da Http a Https via .htaccess, WordPress, Redirect da Http, WordPress Redirect da Http, https wordpress, redirect wordpress https, Redirect Http WordPress, WordPress https

Posted in: Wordpress

About the Author: