Para forçar todo o tráfego a usar HTTPS, insira as linhas de código abaixo no arquivo .htaccess em sua pasta public_html.

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

Lembre-se de modificar o www.exemplo.com com o seu domínio atual.

Bu cevap yeterince yardımcı oldu mu? 0 Bu dökümanı faydalı bulan kullanıcılar: (0 Oy)