Jump to content

URL Rewriting problem 1.6


Recommended Posts

Hi everyone, I have migrated my website on Prestashop 1.6 but now I have some problem.
first thing. my .htaccess isn't good generate. 
see my htaccess.
 
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE
# http://www.prestashop.com - http://www.prestashop.com/forums


<IfModule mod_rewrite.c>
# URL rewriting module activation
SetEnv PHP_VER 5

# URL rewriting module activation
SetEnv REGISTER_GLOBALS 0

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
</IfModule>

# Catch 404 errors
ErrorDocument 404 /dali/web/404.php
 
I work on localhost on MBP (mac book pro) with MAMP.
My second thing is this message when I try to act the URL rewriting in my BO. (see file)
 
Need really solve this problem.
 
Thanks by advance.

 

post-1032696-0-50114200-1438244986_thumb.png

Edited by elderyn (see edit history)
Link to comment
Share on other sites

Apart from that, try to replace the whole Tools.php class, it's what generates the htaccess. That said, how do your routes look like?

 hi , thanks for your Answer, i have this message when i try to activate the url rewriting option.

 

post-1032696-0-47865500-1438588492_thumb.png

 

I have remove my .htaccess file and recreate it, but it's recreate with the contain who is into my first post.

 

I don't have change or edit Tools.php file. but i can replace it by fresh install backup for see.

 

Regard

Edited by elderyn (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...