Redireccionar de http a https desde .htaccess

Para redireccionar del http a https:

Deben copiar el TEXTO de las 3 lineas  en su archivo .htaccess :

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

Si tienes WordPress preguntanos como hacerlo.

  • 34 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?