ezurl doesn't include siteaccess when MatchOrder=host;uri

Author Message

Jerome Despatis

Monday 17 May 2010 2:15:30 pm

Hi,

I've set my eZPublish with MatchOrder=host;uri, in order to have the siteaccess directly in the url, without any index.php

Therefore, I can have a clean multilingual url like you can see everywhere on the web:

http://ww.mywebsite/fr/something

http://ww.mywebsite/de/something

With siteaccess not included on main siteaccess: (thanks to RemoveSiteAccessIfDefaultAccess=enabled)

http://ww.mywebsite/something

etc...

But the problem is that, when I'm at http://www.mywebsite/zh/, i do a {'mymodule/myview'|ezurl} to have a clean URL. But the latter doesn't include the siteaccess. It gives in fact /mymodule/myview.

It should definitely return /zh/mymodule/myview

Any idea to achieve this ?

Thanks !

Jerome Despatis

Monday 17 May 2010 2:52:58 pm

Well, it works now...

no comment

Olaf Fichtner

Thursday 10 June 2010 5:04:35 am

Jerome, would you care to share your setup? I am trying to achieve the same, but am admittedly not very successful so far. Host SA works, but multilanguage does not. Unfortunately, many of the posts I am reading regarding this are adding to my confusion, so I am trying to find a few less confusing answers now...

Also, would you mind posting a link to that site?

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