“forzar SSL” Código de respuesta

fuerza .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Ugliest Unicorn

forzar https

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
KINGASv

forzar SSL

Drop this in a .htaccess file to redirect http to https

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Agreeable Ant

forzar SSL

Updated 2021

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Outstanding Ocelot

Respuestas similares a “forzar SSL”

Preguntas similares a “forzar SSL”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código