SergioE Posted July 9, 2017 Share Posted July 9, 2017 (edited) Buenas tardes, estoy intentado redireccionar con estas lineas del http al https, y cuando pongo este codigo al principio del .htaccess me sale esta URL: URL https://%7Brequest_uri%7D/ CODIGO RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://{REQUEST_URI} [L,R=301] Que hago mal? Saludos Edited July 9, 2017 by SergioE (see edit history) Link to comment Share on other sites More sharing options...
boksers.com Posted August 30, 2017 Share Posted August 30, 2017 (edited) Alguien sabe algo al respecto? Edited August 30, 2017 by boksers.com (see edit history) Link to comment Share on other sites More sharing options...
boksers.com Posted August 30, 2017 Share Posted August 30, 2017 Buenas tardes, estoy intentado redireccionar con estas lineas del http al https, y cuando pongo este codigo al principio del .htaccess me sale esta URL: URL https://%7Brequest_uri%7D/ CODIGO RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://{REQUEST_URI} [L,R=301] Que hago mal? Saludos a mi me pasa igual, alguien tiene la solucion? SergioE, pudiste solucionarlo? Link to comment Share on other sites More sharing options...
SergioE Posted August 30, 2017 Author Share Posted August 30, 2017 (edited) Si, funciona bien ese código. Ponlo justo después de esa línea # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://{REQUEST_URI} [L,R=301] Edited August 30, 2017 by SergioE (see edit history) Link to comment Share on other sites More sharing options...
boksers.com Posted September 2, 2017 Share Posted September 2, 2017 Perfecto, muchas gracias Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now