Forums / Install & configuration / Reduced functionality of URL translator in 3.10.0

Reduced functionality of URL translator in 3.10.0

Author Message

Peter Putzer

Saturday 13 October 2007 9:39:47 am

I've upgraded my test site to 3.10.0 and while I like the new multilingual URL aliases in principle, I'm quite astonished by an apparent loss of functionality:

<b>Is it truly impossible now to create wildcard URL aliases (i.e. /foo/* => /bar/*) and non-forwarding aliases (i.e. /foo is a true alternate name for /bar) anymore?</b>

Also, importing seems to be shaky. I've had to manually delete a certain URL alias from the <i>ezurlalias</i> table, otherwise <i>updateniceurls.php</i> would repeatedly crash.

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at

Kristof Coomans

Sunday 14 October 2007 1:37:48 am

Hi Peter

Can you report this in the issue tracker please? Thanks a lot!

<b>Edit</b>: I think one of the two is already reported: http://issues.ez.no/11650

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Julien Plesniak

Monday 15 October 2007 2:37:43 am

Hello,

there is another problem.

In 3.9.2, if i write in the title of an article: New article
The url is written like this: mysite.com/index.php/site/new_article

And now in 3.10.0 it show: mysite.com/index.php/site/New-article

Why?

Kristof Coomans

Monday 15 October 2007 2:56:46 am

Hi Julien

This is explained in detail in the upgrade documentation: http://ez.no/doc/ez_publish/upgrading/upgrading_to_3_10/from_3_9_x_to_3_10_0

To get the old behavior, specify in site.ini.append.php:

[URLTranslator]
TransformationGroup=urlalias_compat

and run the updateniceurls.php script afterwards.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Peter Putzer

Monday 15 October 2007 2:57:32 am

That's a new feature and is explained in the upgrading documentation. You can change settings to get back the old URL transformation scheme (urlalias_compat) and you can even define your own.

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at

Laurent BOURREL

Monday 15 October 2007 3:28:28 am

Hi all,

By the way, i've got a question about url translator in the demo ezwebin.

- You have a product by default in english (url_en = my-product)
- Then you translate it in french (url_fr = mon-produit).
- And now, from the french site you try to go directly on the italian site by changing only the siteaccess (languages on the left top)
=> Error, cause the uri "mon-produit" is not defined in italian.

So, i wondered if there was new api or attributes to get the default uri, or find the translated uri ?

bye,
L

Julien Plesniak

Monday 15 October 2007 3:43:13 am

Thanks, its works :)

Vytautas Germanavičius

Saturday 27 October 2007 4:06:20 am

anyway it's not possible anymore to do something like this:

myLink (new URL) ---> folder1/folder2 (existing url)
myLink/* (new URL) ---> folder1/folder2/{1} (existing url)

This was possible on ez 3.9

{set-block scope=root variable=cache_ttl}0{/set-block}

Heath

Thursday 15 November 2007 12:07:43 pm

Hello,

Here are a few more forum threads and issues related to this topic.

<i>http://ez.no/developer/forum/setup_design/url_alias_as_permanent_redirect_is_there_a_setting
http://ez.no/developer/forum/developer/url_forwarding
http://issues.ez.no/11650</i>

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Xavier Dutoit

Saturday 17 November 2007 1:36:01 am

And Matthew explaining his workaround (that won't win any beauty contest, but that is so far the only solution that works).

http://ez.no/developer/forum/setup_design/language_switcher_in_3_10

http://www.sydesy.com