fbpx

Servidores Web


http_ou_https

De forma a proceder ao redirecionamento do seu website de HTTP para HTTPS, após a instalação do certificado SSL, poderá efecuar o mesmo adicionado o seguinte código no seu ficheiro .htaccess. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On #Rewrite everything to https RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #the usual WordPress settings RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>  ...

Ler mais.