Forums / Suggestions / URLTranslator Error Handling

URLTranslator Error Handling

Author Message

Björn [email protected]

Thursday 26 June 2003 6:33:20 pm

The Urltranslator is a nice thing, but it throws too many errors when you externaly link your site.
Sample...
Image a url got listed in some search engine
http://www:92/english/home/company/news/webmail_server

after the indexing into the searchengine you change your object name
http://www:92/english/home/company/news/webmail_server_new

When a vistor comes now from an external link that can't be resolved to a URL it eZ fails with "modul not found"

For the future I recommend some kind of URLtranslator history, where old URL are stored. Maybe it makes also sense to store the urls path with the object version.

An other idea would be to search through all object versions for a proper match. Starting from the left handside to the right. One thing I cann't tell is the influence on the system performance if we do my 2nd suggestion.

What do you think?

Björn

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Björn [email protected]

Wednesday 16 July 2003 2:13:28 am

A document moved response + redirect would cool too.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Jan Borsodi

Wednesday 16 July 2003 2:36:48 am

The url translator history sounds good. It could be a general url mapping table in which you could enter other urls as well (ie. for importing old ezp2.2 sites).
We will make a note of this and see what we can come up with.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq