[link to french version below]
PrestaShop is an e-commerce solution known by his many uses through the world. By using PHP and object oriented programmation, it allows to be easily customizable by the common run of programmers, hackers or integrators.
Before everything, you will have to check if the mod_rewrite module is installed on your Apache. You can see that in a simple phpinfo().
If it is not installed, type (while being root):
Allow .htaccess files
You will have then to tell Apache to enable the use of .htaccess files, either in the main conf file or in the conf (it is the AllowOverride property which is important):
Deny from all
Generate the .htaccess
Once .htaccess are allowed, you can use the tool brought by the Prestashop back office to generate automatically a .htaccess which will indicate to Apache which rewriting rules apply. You will have to previously create the file empty and give it the 666 rights (in the root of you PrestaShop file):
chmod 666 .htaccess
Apply modifications and check the logs
Don’t forget to restart apache2 to enable thoses operations:
If you still get some errors or weirds behaviors (like no 404 page loaded, error 500, etc), don’t forget to check the Apache logs before trying anything else, they will tell you a lot about the problem (this path is the default one, yours may be different):
[French version of this post can be found on my blog: Comment activer l'URL rewriting sous PrestaShop]