View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003366||OXID eShop (all versions)||4.09. SEO, SEO URL||public||2011-11-14 10:15||2012-12-10 13:34|
|Target Version||Fixed in Version||4.6.0_RC1|
|Summary||0003366: Canonical tag for articles does not always contain main category|
|Description||Usually the smallest value of the field 'oxtime' in the table 'oxobject2category' determines the 'main'-category of an article. Not so when creating the SEO-URL (and the canonical tag): here a category is included only if the field 'oxtime' has the value 0.|
More information (in german): [Support-Ticket#1226279]
|Tags||No tags attached.|
Reminder sent to: design3000
When we tried to reproduce this case:
- when we just assigned several categories to product (several at once), the first category got the oxtime=0 in object2categories table, and this is shown as Main for product. But when we changed the main category to some other category from the list of assigned categories, then exMain category got oxtime=10 and oxtime for new Main category was set to 0.
In this case oxtime of Main category is always 0, and according to this we get also the canonical URL set for product (it's always the URL of currently Main category).
- Could you please tell us in which situation you get the oxtime of Main category not equal to 0?
...as this case may lead to issue.
original problem: some articles have seo urls without category tree (www.shop.de/product.html) as canonical tag
reason: articles without a main category
please take a look at bug 0003650 >> i think that's the problem >> some articles have a main category but with a wrong shopid !!!