change URL underscore to hyphen

Author Message

Jean-Luc Nguyen

Friday 10 August 2007 6:53:16 am

Hello there,

I know that we can change underscore on URL to hyphen by modifying the .htaccess, but I think that it would be a good idea to see that on eZ Publish kernel. And for earlier versions, running a script to update URLs, what you think?

http://www.acidre.com

André R.

Friday 10 August 2007 6:57:30 am

Hi!
This is part of the new multi lingual url support in 3.10, a beta1 is around the corner.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 11:05:43
Script start
Timing: Jan 18 2025 11:05:43
Module start 'layout'
Timing: Jan 18 2025 11:05:43
Module start 'content'
Timing: Jan 18 2025 11:05:44
Module end 'content'
Timing: Jan 18 2025 11:05:44
Script end

Main resources:

Total runtime0.4661 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.0074 587.9141152.6250
Module start 'layout' 0.00740.0035 740.539139.4609
Module start 'content' 0.01100.4535 780.0000529.9531
Module end 'content' 0.46440.0016 1,309.95318.3203
Script end 0.4660  1,318.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.8526160.0002
Check MTime0.00150.3303160.0001
Mysql Total
Database connection0.00120.251210.0012
Mysqli_queries0.418789.8334540.0078
Looping result0.00060.1284520.0000
Template Total0.430892.420.2154
Template load0.00280.600820.0014
Template processing0.428091.841720.2140
Template load and register function0.00010.021810.0001
states
state_id_array0.00160.334910.0016
state_identifier_array0.00090.200620.0005
Override
Cache load0.00210.4408100.0002
Sytem overhead
Fetch class attribute can translate value0.00070.149420.0003
Fetch class attribute name0.00160.338140.0004
XML
Image XML parsing0.00090.199620.0005
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00120.2494230.0001
String conversion0.00000.001940.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
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs