V1.7 Canonical SEO URLs to Avoid Duplicate Content Module

loguis92

New member
XNullUser
Joined
Oct 16, 2022
Messages
25
Reaction score
0
Points
1
NullCash
4
Overview
Add canonical tags to your homepage, product, category, CMS, manufacturer and supplier pages in order to avoid duplicate content and improve your SEO.
What this module does for you
person_add Optimize natural search (SEO) on all search engines
About canonical URLs
  • 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)

Version: 1.2.3
Thanks for sharing, greatly appreciated!
 

Vladimir12

Member
XNullUser
Joined
Dec 31, 2020
Messages
186
Reaction score
0
Points
16
NullCash
1
thank I was looking for this module cause canonical and hreflang are messed up on prestashop
 

surffari

Member
XNullUser
Joined
Dec 20, 2021
Messages
74
Reaction score
1
Points
8
NullCash
5
Does anyone have any experience on this?

Does this work properly?
 

harunt

Member
XNullUser
Joined
May 18, 2021
Messages
136
Reaction score
0
Points
16
NullCash
5
Thanks for sharing this prestashop module.
 

rayco

Member
XNullUser
Joined
Dec 6, 2021
Messages
331
Reaction score
2
Points
18
NullCash
0
Thanks for sharing this prestashop module.
 

dsfstore

Member
XNullUser
Joined
Feb 28, 2019
Messages
365
Reaction score
22
Points
18
NullCash
2
hi, does anyone test it on prestashop 1.7.8 version? thanks
 

dawidratal

Member
XNullUser
Joined
Dec 20, 2021
Messages
95
Reaction score
0
Points
6
NullCash
30
It's very good module. I recommend it. One of the PrestaShop must have
 
Top