mbphotographe Posted February 12, 2020 Share Posted February 12, 2020 (edited) Bonjour, J'ai un soucis de redirection que je n'arrive pas à corriger et j'aurais besoin de votre aide. J'ai activé et forcé le ssl sur le BO. La redirection vers le https se fait bien par contre il y a une erreur dans la réécriture d'adresse qui est assez bizarre. Exemple d'adresse https : https://www.monsite.com/fr/macategorie/monproduit.html Si je tape l'adresse du produit sans "S" il me la réécrit ainsi : https://www.monsite.comfr/macategorie/monproduit.html Il redirige bien vers le https mais il met pas le / entre le .com et le fr... Du coup j'arrive sur une page d'erreur. Auriez vous une idée ? Voici le morceau de mon htaccess <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: www.monsite.com RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] Prestashop 1.7.3 Edited February 12, 2020 by mbphotographe (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 12, 2020 Share Posted February 12, 2020 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