Child pages
  • Comprendre les préférences

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Les URLs (de l'anglais Uniform Resource Locators) sont les adresses d'une page web. Par défaut, ils ne donnent pas vraiment d'informations aux clients ou aux moteurs de recherche : un URL tel que http://www.myprestashop.com/product.php?id_product=2 n'aide pas à savoir au premier coup d'oeil quel est le produit affiché sur cette page. Les URLs simplifiés sont un moyen de corriger ce défaut, on
URLs are Uniform Resource Locators, or simply put, the online address of a web page. By default, they are rather uninformative to both the customer and search engines: an URL such as aura par exemple http://www.myprestashop.com/product.php?id_product=2 doesn't help know at first glance what the product on that page. Friendly URLs are the way to achieve that, and get for instance http://www.myprestashop.com/2-music-players/27-ipod-nano-green.

A product's friendly URL is set on its own configuration, as explained on the "Adding Products and Product Categories" chapter, in the "Listing Your Product" section. The "Create a Category" section also mentions how to create friendly URLs for product catégories.

But there are individual "static" page (or "CMS pages") in your PrestaShop install that might just as well profit from some friendly URL. This tab presents you with a list of these CMS pages, and enables you to edit their friendly URLs.

Image Removed

WARNING: Friendly URLs only work with a server setup that supports URL rewriting. Make sure to check that yours does (ask you host!), as it can make your shop completely unavailable to customers if you enable friendly URLs and the server does not support it!

Adding a New Friendly URL

Click the "Add New" link to reach this form:

Image Removed

This forms presents you with a handful of fields:

  • Page. Presents you the page that do not yet have a friendly URL set.
  • Page's title. The title that will appear on the search engines when a request is made by a customer
  • Meta description. A presentation of the product in just a few words, intended to capture a customer’s interest It will appear in search results.
  • Meta Keywords. Keywords that you must define in order to have your site referenced by search engines. You can enter several of them, separated by commas, as well as expressions, which must be indicated in quotation marks.
  • *Rewritten URL". This is where you set the friendly URL. Make it short and descriptive, and replace spaces (" ") by hyphens ("-").

URLs Setup

At the bottom of the "SEO & URLs" tab is the following form.

Image Removed

Here you can view and edit some of the default server settings. Most of the time, you shouldn't touch the first four fields (PS directory, Homepage file, Homepage file, Shop domain name for SSL) with knowing exactly what you are doing. One mistake could break your shop.

Change the "Friendly URL" radio buttons settings if you know that your server can support URL rewriting. If not, leave it at "No". Likewise, only change the "Automatically redirect to Canonical url" radio buttons settings if you know what you are doing. Canonical URLs are excellent ways to to improve SEO, as they help avoid duplicate content on your shop (more than one URL for the same actual content).

Products

This sub-tab contains a slew of preferences pertaining to how your products are to be handled and displayed by PrestaShop.

Image Removed

...

Un lien simplifié d'un produit se configure directement lorsqu'on ajoute le produit au catalogue ou lorsqu'on le modifie. Ce processus est expliqué dans le chapitre " "Ajouter des produits et des catégories de produits", dans la section "Inscrire votre produit". La section "créer une catégorie" explique également comment créer un URL simplifié.

Il y a néanmoins des pages individuelles "statiques" (ou pages CMS) dans votre installation PrestaShop quoi pourront également profiter de certains URLs simplifiés. Ce tableau vous présente une liste de ces pages CMS, et vous permet de configurer leurs URLs simplifiés.

Image Added

ATTENTION : Les URLs simplifiés ne fonctionnent qu'avec une configuration de serveur qui supporte la réécriture URL. Soyez certain que votre serveur supporte les réécritures URLs (demandez à votre hébergeur!), car si vous activez les URLs simplifiés alors que votre serveur ne les supporte pas, vos clients risquent de ne pas pouvoir accéder à la boutique.

Ajouter un nouvel URL simplifié

Cliquez sur "Nouveau" pour accéder à ce formulaire :

Image Added

Ce formulaire contient différents champs :

  • Page. Nom de la page concernée, qui n'a pas encore d'URL simplfié.
  • Titre de la page. Titre qui apparaîtra sur les moteurs de recherche lorsqu'une requête est effectuée par un client.
  • Meta description. Une courte description du produit, en quelques mots, destinée à attirer l'attention du client. Cette description apparaîtra dans les résultats de recherche.
  • Meta mots-clefs. Mots-clefs pour lesquels vous devez définir un ordre afin que votre site soit référencé par les moteurs de recherche. Vous pouvez en entrer plusieurs, séparés par des virgules, et aussi des expressions, qui doivent être inscrite entre guillemets.
  • *URL réécrite*. C'est ici que vous indiquez l'URL simplifié. Faites-en un court et descriptif, et remplacer les espaces (" ") par des tirets ("-").

Configuration des URLs

Au bas de l'onglet "SEO & URLs", vous trouverez le formulaire suivant :

Image Added

Vous pouvez ici voir et configurer certains des paramètres par défaut du serveur. La plupart du temps, il est préférable de ne pas modifier les premiers champs (Répertoire contenant PrestaShop, page d'accueil, nom de domaine SSL) sans savoir exactement l'impact qu'auront les modifications effecutées. Une erreur peut mettre à plat votre boutique.

Changez les boutons radio "URL simplifié" si vous savez que votre serveur peut supporter la réécriture d'URL. Sinon, laissez le bouton sur "Non". De la même façon, ne changez le bouton radio "Rediriger automatiquement vers l'URL canonique" que si vous savez ce que vous faites et les conséquences que cela pourrait entraîner. Les URLs canoniques sont d'excellents moyens d'améliorer la SEO, car ils aident à éviter d'avoir des contenus dupliqués sur votre boutique (plus d'un URL pour le même contenu réel).

Produits

Ce sous-onglet contient une flopée de préférences relatives à la façon dont vos produits doivent être manipulés et affiché par PrestaShop.

Image Added

  • Mode catalogue. Lorsque ce paramètre est activé, toutes les fonctionnalités d'achat sont désactivées, la boutique sera une simple galerie, sans aucun moyen d'en acheter les articles.
  • Autoriser la commande de produits hors stock. Si vous n'autorisez pas cette opération, le bouton Ajouter au panier sera caché lorsque le produit sera indisponible. Sinon, il apparaîtra même si le produit n'est pas disponible.
  • Activer la gestion des stocks. Par défaut, vous devriez laisser cette fonctionnalité activée. Cela affecte la gestion de l'inventaire sur votre boutique, comme par exemple la gestion en fonction du statut, etc.
  • Afficher les quantités disponibles sur la page produit. En activant cette fonctionnalité, vos visiteurs peuvent connaître les quantités disponibles de chaque produit dans le stock. Afficher cette information peut être utile pour stimuler les ventes lorsque par exemple un produit n'est disponible qu'en petite quantité. Les quantités affichées sont celles des attributs et des déclinaisons choisis.
  • Enable JqZoom instead of Thickbox on product page. Once you activate this feature, a zoom will appears whenever a mouse is scrolled over a product's image on your store. You can configure the zoom size by modifying the image value in the "Image" sub-tab of the "Preferences" tab.
  • Display unavailable product attributes on product page. Your product can be composed of many different combinations or attributes.
    Go to the "Configure Attributes" section on page 28 to understand attributes and combinations. When one or several of them are not available, you have several possibilities:
    • First possibility. Leave this preference active. Example: The product "iPod Shuffle" is no longer available in "Blue" in our store. By activating the feature, the product’s variety will remain visible in the shop. A message indicates that the product is no longer available in the chosen option and invites customers to choose another variation.
    • Second possibility. Disabling this preference. If the blue variety of the product “Ipod Shuffle” is no longer available, the product is not displayed the front office and the customer can not select it. This feature clearly displays the availability of your products
  • Display "add to cart" button when product has attributes.
  • Max items in the comparator.
  • Minimum purchase total required in order to validate order. Indicates the minimum amount that must be in the shopping cart to submit an order. If the amount in this field is not reached, your customer can not complete their purchase. If you do not want to activate this feature, enter "0" in the field.
  • Display last quantities when qty is lower than. You can display an alert when a stock of your products gets low. This option is particularly useful for promoting purchases. To configure this feature, enter the field value at which an alert message should appear on your store.
  • Number of days during which the product is considered 'new'. When you add a product in your store, it is considered new and it is reported back through the "New products" block and the "New products" page. The field allows you to specify how many days the product will remain visible on the block and page. With this feature, you choose how to display and updated your store's news This page is usually accessed by your loyal customers.
  • Re-direction after adding product to cart. When a product is added to the shopping cart and the AJAX version of the cart mode is disabled, the client can be directed to the shopping cart summary or stay in the current page.
  • Products per page. Indicate how many products are displayed on the pages of your categories.
  • Default order by. Indicate the order of default products in your store’s categories Example In our shop's "iPod" category, we can present the iPods in our desired order. 6 choices are available:
    • Product name. Displays a list of your products based on the first letter of the product.
    • Product Price. Displays your products according to their price.
    • Product Added Date. Displays your products according to the date added to your shop.
    • Position inside category. Displays your products as they are positioned in the categories in your catalog. The position of the products can be modified directly in the catalog of your store using the position arrows. This way you have your product in the most attractive fashion for your customers.
    • Manufacturer. Displays your products in order of the first letter of the Manufacturer.
    • Project Modified Date. When you edit your products the modification date is changed. They will appear in order of the modification date.
  • Default order way. The above options can be sorted by ascending or descending order.
  • Image generated by. This feature allows you to position the product image in its pre-established space. Choose ‘height’ in order to fill the frame height (the width is then recalculated to maintain the same height/width ratio as in the file of origin). You could also choose ‘width’ so the image fills the width of the frame (the height is then recalculated to maintain the same proportion), or finally, choose "auto", where the width and height are calculated to maximize the space it can occupy in the frame.
  • Maximum size of product pictures. The maximum size of pictures that customers can upload (in bytes).
  • Product pictures width. The maximum width of pictures that customers can upload (in pixels).
  • Product pictures height. The maximum height of pictures that customers can upload (in pixels).

...