In fisierul .htaccess trebuiesc adaugate urmatoarele linii:
#REDIRECT TO HTTPS <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{ENV:HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] </IfModule>
define('WP_SITEURL', 'https://domeniulmeu.ro’); define('WP_HOME', 'https://domeniulmeu.ro');
*Sa te asiguri ca aceste doua linii nu sunt deja scrise in fisier.