Canonical URLs are used to avoid duplicate content and indicate to search engines which page is the "original" page. This is just an indication added into the code of a page to tell search engines that this page is not the main page and that the original content is located in another page.

If you have several similar versions of the same content accessible through multiple URLs and you don't use canonical URLs, search engines would penalize your SEO because these pages would be considered as duplicate content.

But if you use canonical URLs, the pages that used to be considered as "duplicate content" (different urls with the same content) would be considered now as one and same page by search engines (they are linked to the canonical URL).

How does it work?

The module automatically adds a default canonical url to all your product, category, CMS pages only. By default, the module uses the current url of the page as the default canonical url.

Use the general configuration to apply general changes to all your default canonical urls. You can change automatically the domain (if you have duplicate content between domains), the protocol (if you have duplicate content between http and https) or to remove parameters (if you have duplicate content due to urls with parameters) in the default canonical urls.

If you want to set a custom canonical URL for a specific product, category, CMS, manufacturer or supplier page, then go to the configuration of this page, choose the option "Custom URL" and write the custom canonical url of your choice.

General configuration (default canonical urls)

The module allows you to set general rules that apply to all your default canonical urls

You can set the main domain name (if you use several domains with the same content) to tell search engines which domain is the main one. Ex: if you set for example www.domain2.com as the main domain, the canonical URL of the page www.domain.com/product.com will be www.domain2.com/product.com

You can force to add "http" or "https" before the canonical URL (to avoid duplicate between the http and https version of a website). Ex: if you choose to force https for the canonical URL, the canonical URL of the page www.domain.com/product.com will be https://www.domain.com/product.com

You can add a list of parameters to ignore in the canonical URL (if you have several URLs for the same page) Ex: if you add in the list for example this list of parameters (live_configurator_token, id_employee, id_shop), the canonical URL of the page www.domain.com/product.html?live_configurator_token=123&id_employee=1&id_shop=1 will be www.domain.com/product.html

You can also add the canonical URL into the HTTP header of the page (this part is visible only by web browsers)

New features for version 1.7 of Prestashop: You can delete the attribute ID of the product canonical url. We also offer solutions to your Prestashop theme if you do not have the variables activated.

Custom canonical URL

The module also allows you to set a specific canonical URL for the homepage, product, category, CMS, manufacturer and supplier pages you want.

To do it, you just need to edit a product, category, CMS, manufacturer or supplier of your shop, the module automatically adds a new section of the configuration of these page.

On the configuration of this page, you just need to select the option "Custom URL" and write the custom canonical URL you want, you can set a different URL for each language of your shop (multilingual shop)

Improve the SEO of your store by adding 301, 302, 303 redirects and avoiding 404 errors! Easily and quickly redirect url of deleted products or categories from your store. Create an unlimited number of 301, 302 and 303 URL redirects to optimize the SEO of your website and avoid the 404 errors. Also includes a CSV importer to create redirects in bulk.

Generate sitemaps of all the urls of your store automatically (cron), in all the languages of your store (multilingual), for all your stores (multistore) and including product, categories and manufacturer images.

If you have any questions or problems with the module, please click on Contact the developer to get in touch with us, our team of certified developers is here to help you and will do all its best to solve your problem as soon as possible. We are a PrestaShop Platinum certified agency and we provide support for all our modules in order to guarantee the good working of modules and make sure that our customers are satisfied.

Aanbeveling

Compatible with multistore: No

Compatibility:

The module is compatible with url ID removing modules such as Advanced URL or Pretty URLs (urls without ID will be used in the default canonical urls)

Our agency is Platinum certified (PrestaShop's highest certification) and we are the PrestaShop's leading agency in Spain. Our goal is to develop simple, useful and affordable modules to meet the main needs of the PrestaShop community. We provide support for all our modules to guarantee they are working properly and make sure that our customers are satisfied.﻿﻿

In accordance with the applicable laws and regulations, you can unsubscribe at any time by clicking on the link in the emails you receive. Subject to the conditions set out in the law, you have rights in regard to your personal data. To learn more, please read our Personal Data Protection Policy.