Pommefraiz Posted May 30, 2014 Share Posted May 30, 2014 Bonjour, J'aimerais activer les urls simplifiées dans Prestashop. J'ai rajouté le module url rewrite sur mon serveur, j'ai vidé mon fichier htaccess pour qu'il soit à rempli automatiquement par Prestashop, mais impossible d'accéder aux pages avec les nouvelles URL. Quand j'accède à monsite.com cela me redirige sur la page monsite.com/fr et j'obtiens le message : Not Found The requested document was not found on this server. Mon fichier htacess est le suivant : # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again ----- Mon hébergeur est online.net et je suis sur un serveur dédié. Avez-vous une idée de solution ? Merci d'avance ! Link to comment Share on other sites More sharing options...
Pommefraiz Posted June 2, 2014 Author Share Posted June 2, 2014 Bonjour, Oui j'ai régénéré le fichier htaccess et j'ai vérifié que celui-ci était bien rempli automatiquement lorsque j'active les urls simplifiées et qu'il change également que je les désactive. Link to comment Share on other sites More sharing options...
meyer2005 Posted June 2, 2015 Share Posted June 2, 2015 Bonjour, j'ai rencontré le meme Probleme ce jour:-(((. Vous avez pu le resoudre entre temps!? Bien cordialement Meyer 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