cyxmedia
9/9/2017 - 6:56 PM

HTTP a HTTPS

Redireccionar de HTTP a HTTPS

# ENVIAR TRÁFICO DE HTTP a HTTPS ##
RewriteEngine On
RewriteCond %{ENV:HTTPS} !on [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://tudominio.com/$1 [R=301,L,NE]
# ENVIAR TRÁFICO DE HTTP a HTTPS ##