Friendly URL in Prestashop 1.6

1

I'm having problems activating the friendly URLs in Prestashop. I have tried all the solutions that I have found googling and without result.

The mod_rewrite of Apache is activated, I have tried to clean cache and force the compilation.

When I activate the friendly URLs and try to navigate, for example, to the contact page, I get a 404 error. I suspect that it may be the Apache configuration.

Any suggestions?

    
asked by Makros 20.10.2016 в 09:39
source

1 answer

2

I answer to myself. I have found the solution to the problem.

I had a conflict between SSL configuration and friendly URLs. I leave the configuration of my ssl.conf file for my shop prestashop 1.6. You can find it within /etc/apache2/sites-enabled/ :

ServerAdmin [email protected]
DocumentRoot /path/to/your/folder/page/
ServerName yourweburl.com

Options All Indexes FollowSymLinks
<Directory /path/to/your/folder/page/ >
    DirectoryIndex index.php
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

#   SSL Config
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/yourwebsslcertificate.cert
SSLCertificateKeyFile /etc/apache2/ssl/yourwebsslcertificate.key
SSLCertificateChainFile /etc/apache2/ssl/yourwebsslcertificate.cert

</VirtualHost>
    
answered by 20.10.2016 / 10:46
source