Shorter url and url-translation

Author Message

Roy Bøhmer

Friday 21 October 2005 6:02:10 am

For some reason my all my content is placed under a subfolder to root (node 2). What annoys me is that when using |ezurl or |ezroot this makes the url so long:
domain.no/(siteaccess)/standard_folder/subfolder/subf
older2/article_with_a_pretty_long_name_itself

Turning off url-translation makes the url much shorter: domain.no/(siteaccess)/view/full/node_id

But as far as I understand this also turn off the manual url-translation, which I really want to keep, because of marketing.

So, is there a way to make |ezurl make short "ugly" urls, and still keep the manual translations?

Roy

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

Main resources:

Total runtime0.7284 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.0052 589.0313152.6250
Module start 'layout' 0.00520.0025 741.656339.4609
Module start 'content' 0.00770.7187 781.1172399.7422
Module end 'content' 0.72640.0019 1,180.85948.1641
Script end 0.7283  1,189.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4773160.0002
Check MTime0.00140.1870160.0001
Mysql Total
Database connection0.00090.130110.0009
Mysqli_queries0.689994.7174460.0150
Looping result0.00040.0522440.0000
Template Total0.693395.220.3466
Template load0.00240.328020.0012
Template processing0.690994.851820.3454
Template load and register function0.00020.022710.0002
states
state_id_array0.00110.151710.0011
state_identifier_array0.00110.156920.0006
Override
Cache load0.00190.2629100.0002
Sytem overhead
Fetch class attribute can translate value0.00130.171610.0013
Fetch class attribute name0.00070.096710.0007
XML
Image XML parsing0.00010.014610.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.0820100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs