View Issue Details

IDProjectCategoryView StatusLast Update
0001431OXID eShop (all versions)4.09. SEO, SEO URLpublic2012-12-10 13:35
Reportertjungcl Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.0 revision 23610 
Fixed in Version4.3.0 revision 26948 
Summary0001431: Params in canonical links
DescriptionCopied from Sourcecode:

<link rel="canonical" href="http://demoshop.oxid-esales.com/enterprise-edition/Fuer-Ihn/Gadgets/?cur=1&force_sid=9dbbbc56d7d6f9ebb39a6836cc237575&">

To reproduce:
- delete browser-cache
- oben http://demoshop.oxid-esales.com/enterprise-edition
- switch currency
-> look at source-code: you'll find a canonical link containing /?cur=, what is not right, except you really want google to make a different entry for each currency

- delete browser-cache
- now disable cookies
- put something to basket
- change currency
-> look at source-code.

I know, that the crawler won't put things to the basket, put you never know, what users will do on your site, and what the backlinks will look like, they put into their blog.
So there is a could chance, that a crawler will visit an url like
http://demoshop.oxid-esales.com/enterprise-edition/index.php?sid=97828f5de7fcff17712d3063d84bd8df&cl=details&cnid=30e44ab8593023055.23928895&anid=1126&cur=2

I'm not sure, wether crawler have cookies enabled or not, but to not rsik it, the canonical link should be forced to be free of all kinds of parameters like sid/force_sid and cur.





TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

tjungcl

2009-10-31 09:28

reporter   ~0001982

Oh, I just found, that in the robots.txt, there are still the rules

#
Disallow: /*/sid/
Disallow: /*?sid=
Disallow: /*&sid=
#
Disallow: /*?cur=
Disallow: /*&cur

So you could argument, the crawler would not visit links with cur und sid in them. Thats right, but with the canonical link tag you could remove those restrictions from the robots.txt.

arvydas_vapsva

2009-11-10 16:43

reporter   ~0002027

fixed