Absolute path in Canonical plugin to meet Lighthouse

08.11.2020 18:15
#1
sulpheraas
Joomshopping forum user no avatar
Name: Eugene
11.07.2008
Posts: 56
Quote
Absolute path in Canonical plugin to meet Lighthouse

Hello,
I've installed the latest version of canonical plugins (by MaxxMarketing).

Lighthouse warns:
Document does not have a valid rel=canonicalRelative URL (/igrushki/igrushki-na-batarejkakh)

Tutorial: https://web.dev/canonical/?utm_source=lighthouse&utm_medium=devtools

We need to add a domain and make the URL absolute like:
https://site.com/igrushki/igrushki-na-batarejkakh

Need to update this line:
$url = SEFLink('index.php?option=com_jshopping&controller=category&task=view&category_id='.$category->category_id);

Could you update both Canonical plugins for products and categories, please?
Thanks.
Absolute path in Canonical plugin to meet Lighthouse


Joomla: 3.9.22
JoomShopping: 4.18.4
PHP: 7.4

Last change: 08.11.2020 18:17
 
13.11.2020 12:09
#2
sulpheraas
Joomshopping forum user no avatar
Name: Eugene
11.07.2008
Posts: 56
Quote
Aw: Absolute path in Canonical plugin to meet Lighthouse

Any news, guys?

 
14.11.2020 11:55
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Absolute path in Canonical plugin to meet Lighthouse

Fixed in new versions.

 
22.11.2020 16:31
#4
sulpheraas
Joomshopping forum user no avatar
Name: Eugene
11.07.2008
Posts: 56
Quote
Aw: Absolute path in Canonical plugin to meet Lighthouse

Thank you! :-)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.