Jump to content

Probleme when i activate url rewrite


anddam

Recommended Posts

Salam every one

 

when i activate url rewriting i can view the index page but the images of all products can't be displayed

and also i got 404 error in others pages

 

here my .htaccess file

 

 
 
# ~~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>
RewriteEngine on
 
RewriteRule ^api/?(.*)$ webservice/dispatcher.php?url=$1 [QSA,L]
 
</IfModule>
 
#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
 
 
Link to comment
Share on other sites

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