Jump to content

Url simplifiée -- > pages 'Not Found'


Recommended Posts

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
 
<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

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...