Lost with the new URL translator

Author Message

H-Works Agency

Tuesday 30 November 2010 8:47:37 am

Hello,

I am trying to do something that used to be very simple in ezpublish : Rewriting an URL to another :

Redirecting "/my_node_url_alias" to "/another_node_url_alias"

I tried everything with the new url translator system but nothing works. Is there any exemple somewhere ?

Thanx in advance

Please don't respond to use apache rewrite module :p

EZP is Great

Magnus Hellman

Wednesday 01 December 2010 12:23:59 am

Hey,

I'm not 100% sure what you mean by "new" but it seems right to me.

I just tried it on a fresh 4.4 and it worked.

What happens when you create a new alias? Does it get stored?

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 18 2025 02:16:47
Script start
Timing: Jan 18 2025 02:16:47
Module start 'layout'
Timing: Jan 18 2025 02:16:47
Module start 'content'
Timing: Jan 18 2025 02:16:48
Module end 'content'
Timing: Jan 18 2025 02:16:48
Script end

Main resources:

Total runtime0.7214 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 591.0938152.6250
Module start 'layout' 0.00450.0025 743.718839.4531
Module start 'content' 0.00700.6879 783.1719525.0938
Module end 'content' 0.69490.0264 1,308.26568.1563
Script end 0.7213  1,316.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.02773.8373160.0017
Check MTime0.02593.5967160.0016
Mysql Total
Database connection0.00060.082510.0006
Mysqli_queries0.654190.6832540.0121
Looping result0.00050.0646520.0000
Template Total0.672893.320.3364
Template load0.00190.269320.0010
Template processing0.670892.994120.3354
Template load and register function0.00020.022610.0002
states
state_id_array0.00080.104510.0008
state_identifier_array0.00090.127220.0005
Override
Cache load0.00150.2126160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.094120.0003
Fetch class attribute name0.00140.190540.0003
XML
Image XML parsing0.00110.146120.0005
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00090.1303230.0000
String conversion0.00000.000840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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.0001 secs