In order to enable SEO-friendly URLs
1) Login to your
PrestaShop admin panel.
2) Open the
CONFIGURE > Shop Parameters > Traffic section.
3) Scroll down to
Set up URLs section and find
Friendly URL. Change this option to
YES if you know that your server supports URL rewriting.
Accented URL. PrestaShop is able to produce URL with special characters, for products with non-ASCII names. You can disable that option here.
Redirect to Canonical URL. A given PrestaShop page can have many URLs, most often when there are parameters to consider: for instance, http://example.com/product.php?id=5&option1 and http://example.com/product.php?id=5&option2 point to the very same product, only one difference. Since you want your product to have a single URL and not many duplicate ones, you should enable Canonical URLs. Canonical URLs are a way to eliminate self-created duplicate content – which can dramatically bring your search engine rank down, as this is considered spam. To avoid search engines thinking you are spamming their index, PrestaShop uses standard rel=”canonical” link tag to indicate which is the one base URL for a given content. While it is highly recommended to enable this option, it also depends on your theme actually implementing correctly the <link> header tag. Ask the theme designer for more information.
There are three options:
- No redirection. You might get duplicate URLs.
- 301 Move Permanently. Returns the HTTP 301 status code, pointing to the main URL and notifying search engines that this is the only URL to take into account.
- 302 Moved Temporarily. Returns the HTTP 302 status code, pointing to the main URL and notifying search engines that the main URL might change later.
Disable Apache’s MultiViews option. Apache is the most popular web server and is most likely the one your web host uses for your site (although you should check this for yourself). Multiviews is a content negotiation system: when enabled, the web server tries to serve the user a page in what it thinks is the best matching language version, under the same URL. Unfortunately, this might bring trouble to PrestaShop’s friendly URLs feature. If this is the case, you can try to disable multi-views with this option.
Disable apache mod security. mod_security is a module of the Apache web server, which acts as a firewall, protecting your server from intrusions. It can, however, block some key features, or even produce errors in some configuration. In such case, disable that firewall here.