Different URL alias for different siteaccess

Author Message

Ly Lo Cong

Tuesday 14 April 2009 1:11:37 am

Hello,

I've set up a multilingual website using eZpublish 4.1. Each language has its own siteaccess with its own hostname (fr.mysite.com, jp.mysite.com, ru.mysite.com, etc.)
Is it possible to have a different url alias for each siteaccess pointing to the same node?
For example, fr.mysite.com/url-in-french and ru.mysite.com/url-in-russian are pointing to the same node but showing the corresponding language.
Thanks in advance.

http://auth.ez.no/certification/verify/402698

Andreas Kaiser

Tuesday 14 April 2009 7:05:14 am

Not sure what you want, by default ezp 4.1 has url aliases specific for every language. This means if we have a content object (for example node 2) translated in different languages:

a.) russian -> ru_url_alias

b.) french -> fr_url_alias

and you configure fr.example.com with french as main language, the url for node 2 would be fr.example.com/fr_url_alias and in a similar case in russian: ru.example.com/ru_url_alias

So the url aliases are different, but point to the same node in a different language.

Does this help?

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Ly Lo Cong

Tuesday 14 April 2009 9:03:15 am

yes, that's exactly what I wanted. Just wasn't sure if it was possible. Thanks!

http://auth.ez.no/certification/verify/402698

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 31 2025 01:31:35
Script start
Timing: Jan 31 2025 01:31:35
Module start 'layout'
Timing: Jan 31 2025 01:31:35
Module start 'content'
Timing: Jan 31 2025 01:31:35
Module end 'content'
Timing: Jan 31 2025 01:31:35
Script end

Main resources:

Total runtime0.0245 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.3828151.2422
Module start 'layout' 0.00600.0049 739.6250220.7500
Module start 'content' 0.01090.0120 960.3750997.8672
Module end 'content' 0.02290.0015 1,958.242233.9922
Script end 0.0244  1,992.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.6305140.0002
Check MTime0.00114.5733140.0001
Mysql Total
Database connection0.00062.313410.0006
Mysqli_queries0.004116.809930.0014
Looping result0.00000.053610.0000
Template Total0.00114.510.0011
Template load0.00083.278210.0008
Template processing0.00031.177210.0003
Override
Cache load0.00062.280310.0006
General
dbfile0.00031.291280.0000
String conversion0.00000.032240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs