elderyn Posted July 30, 2015 Share Posted July 30, 2015 (edited) 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. Edited July 30, 2015 by elderyn (see edit history) Link to comment Share on other sites More sharing options...
elderyn Posted July 31, 2015 Author Share Posted July 31, 2015 Up plz Link to comment Share on other sites More sharing options...
Chaniyth Posted July 31, 2015 Share Posted July 31, 2015 Have you made sure that the mod_rewrite module is actually installed and enabled on your server? Also delete the .htaccess file and let Prestashop recreate it. Link to comment Share on other sites More sharing options...
NemoPS Posted August 1, 2015 Share Posted August 1, 2015 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? Link to comment Share on other sites More sharing options...
elderyn Posted August 3, 2015 Author Share Posted August 3, 2015 (edited) 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. 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 August 3, 2015 by elderyn (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 5, 2015 Share Posted August 5, 2015 yeah, try replacing that Link to comment Share on other sites More sharing options...
elderyn Posted August 5, 2015 Author Share Posted August 5, 2015 yeah, try replacing that Already try, that don't work Link to comment Share on other sites More sharing options...
Recommended Posts