Page 1 of 1

Como configurar para redirigir el http a https?

Posted: 28 Aug 2018, 14:52
by jafcor
He complementado mi servidor con el certificado de seguridad pero no se como puedo redirigir desde "X3 Photo Gallery" el http al htpps.

Gracias

Re: Como configurar para redirigir el http a https?

Posted: 29 Aug 2018, 02:40
by mjau-mjau
Lo siento, no hablo español, pero aquí está la respuesta en inglés.

There are two ways:

1.  Go to Settings > Advanced > Force URL.
Write the URL with https://, so that the X3 app will always redirect to https version.
Image

2. .htaccess

This is more complicated, but will redirect ALL requests to https directly from your server. Add the following to your root .htaccess file. This file is often "hidden" from your FTP editor, so you may need to adjust settings.
Code
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
It should normally work. If not, there are a few other suggestions here:

https://www.askapache.com/htaccess/http ... write_Code

Re: Como configurar para redirigir el http a https?

Posted: 29 Aug 2018, 06:54
by jafcor
Muchas Gracias!!!

Re: Como configurar para redirigir el http a https?

Posted: 29 Aug 2018, 06:57
by jafcor
La primera opción ha ido de maravilla. Perfecto!!! Gracias!!!