product_canonical doesn't deliver correct canonical url

07.07.2015 12:10
#1
JKahle
Joomshopping forum user no avatar
Name: Jürgen
29.04.2015
Posts: 12
Quote
product_canonical doesn't deliver correct canonical url -SOLVED

in order to present one product in different categories and in one main-category as well without having double-conten i installed product_canonical - but it doesn't work as it should.
without that program, sef stated every categry as "canonical" with a link like
<link href="http://website/index.php/shop/main-category/sub-category/article" rel="canonical" />
after installation of product_canonical an sef set inactiv, the main category is displayes without an "canonical" - OK.
But the subcategorys are displayed with this kind of link

<link rel="canonical" href="/index.php/shop/main-category/sub-category/main-category/article"/>
so
how to truncate the displaced string "sub-category/main-category"

Is there any bux-fix?

thx

Jürgen

SOLVED
######

what i had to do?
in SEF i deactivated line 50 so there are no double "canonical"-links. The 2nd problem was a mismatch in the database - not a problem within product_canonical


Joomla: Joomla 3.4
JoomShopping: 4.6.1
PHP: 5.5
MySQL: 3.5.8
Website Url: www.kahle.sagorski.net

Letzte Änderung: 09.07.2015 11:20
 


Copyrights MAXXmarketing GmbH. All Rights Reserved
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.