Transform url with unordered view parameters

Author Message

Andrey Astakhov

Monday 07 August 2006 8:33:40 am

I'm trying to move a site to eZ Publish. I have a strong requirement to leave old urls as is.

Now I have urls with unordered parameters in my eZ Publish system, e.g.:
(1) http://mysite/foldername/(category)/categoryname/(offet)/25

But i need to have such urls:
(2) http://mysite/foldername/categoryname/25

Is it possible to use url transformation so that urls (2) would be treated as urls (1) in eZ Publish?

Thank you in advance.

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

Main resources:

Total runtime0.9424 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2656151.2266
Module start 'layout' 0.00470.0022 739.492236.6797
Module start 'content' 0.00700.9345 776.1719824.3203
Module end 'content' 0.94150.0009 1,600.49227.8125
Script end 0.9424  1,608.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3191160.0002
Check MTime0.00130.1352160.0001
Mysql Total
Database connection0.00070.078610.0007
Mysqli_queries0.907496.2821460.0197
Looping result0.00040.0384440.0000
Template Total0.913596.920.4567
Template load0.00170.180220.0008
Template processing0.911896.749520.4559
Template load and register function0.00120.126910.0012
states
state_id_array0.00190.202010.0019
state_identifier_array0.00220.230020.0011
Override
Cache load0.00130.1411100.0001
Sytem overhead
Fetch class attribute can translate value0.00080.084710.0008
Fetch class attribute name0.00190.198110.0019
XML
Image XML parsing0.00010.012810.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00070.0708100.0001
String conversion0.00000.000640.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
1content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs