url rewriting and whitespaces

Author Message

Nicolas Ottavi

Tuesday 04 July 2006 6:28:55 am

Hi,

I would really appreciate to be able to change the "_" used to replace whitespace in url rewriting by a hyphen "-".

According to some SEO professionals hyphen are more efficient than underscores ...

Regards,
Nicolas

Nathan Kelly

Thursday 06 July 2006 2:37:25 am

Hi Nicolas,

I'm not an expert on .htaccess but I'm pretty sure this could be done with .htaccess and ModRewrite (apache).

Does anyone know if this is something that could be handled by .htaccess? I'd be interested to know how to change this URL behaviour also!

Cheers!

Pardon me while I burst into flames...

Nicolas Ottavi

Friday 07 July 2006 1:08:41 am

Hi Nathan,

That is a great idea, I completely didn't think about it ... I will have a look to rewrite rules ... (given the fact we are hosting the sit with LightHttpd server and not Apache, and rewrite rules are not the same ...)

Thanks for the advice, will probably be very helpful,

Regards,
Nicolas

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

Main resources:

Total runtime0.0219 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.0469152.6250
Module start 'layout' 0.00680.0032 741.671939.4453
Module start 'content' 0.01000.0097 781.117289.3203
Module end 'content' 0.01960.0022 870.437530.3047
Script end 0.0218  900.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.4291140.0002
Check MTime0.00125.3254140.0001
Mysql Total
Database connection0.00094.330910.0009
Mysqli_queries0.002611.907930.0009
Looping result0.00000.201710.0000
Template Total0.00177.710.0017
Template load0.00104.454210.0010
Template processing0.00073.242810.0007
Override
Cache load0.00073.357210.0007
General
dbfile0.00020.942180.0000
String conversion0.00000.044740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs