Improve SEO features avoiding text duplication penalties in multilanguage sites

Author Message

Davide Garzetti

Monday 17 January 2011 7:54:36 am

Hi, I found that when a site is configured with the site.ini variable RemoveSiteAccessIfDefaultAccess=enabled and there is at least another site access available it can occur in a content duplicate penalty by Google.

The module "switchlanguage" does not consider this site.ini setting and always redirect to url with the siteacess specified in the url.

In this way Google Spider finds two different urls (es. www.site.com/Company and www.site.com/eng/Company) with same content and it penalizes as "content duplicated".

I have posted at http://issues.ez.no the issue #017850 with some code changes that can be used to resolve this problem.

Thanks.

Davide Garzetti

http://www.visionova.it

Ivo Lukac

Monday 17 January 2011 8:55:12 am

A more general issue and fix here also:

http://issues.ez.no/IssueView.php?Id=17762&activeItem=2

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 01:12:43
Script start
Timing: Jan 18 2025 01:12:43
Module start 'layout'
Timing: Jan 18 2025 01:12:43
Module start 'content'
Timing: Jan 18 2025 01:12:44
Module end 'content'
Timing: Jan 18 2025 01:12:44
Script end

Main resources:

Total runtime1.0934 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.4063152.6875
Module start 'layout' 0.00610.0031 741.093839.5625
Module start 'content' 0.00921.0825 780.6563525.0234
Module end 'content' 1.09170.0016 1,305.67978.2188
Script end 1.0933  1,313.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3098160.0002
Check MTime0.00140.1296160.0001
Mysql Total
Database connection0.00100.088510.0010
Mysqli_queries1.044095.4834550.0190
Looping result0.00060.0540530.0000
Template Total1.051196.120.5255
Template load0.00240.219220.0012
Template processing1.048695.908320.5243
Template load and register function0.00020.017010.0002
states
state_id_array0.00210.191810.0021
state_identifier_array0.00190.171220.0009
Override
Cache load0.00190.1700150.0001
Sytem overhead
Fetch class attribute can translate value0.00110.097720.0005
Fetch class attribute name0.00110.101630.0004
XML
Image XML parsing0.00060.053420.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00080.0720170.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs