Url forwarding

Author Message

luis muñoz

Wednesday 14 November 2007 10:06:32 am

Hi all,

I'm trying to change the urlalias of a node from the 3.9 admin interface, like i did in previous versions. The problem is that the menu changed deeply. I found how to add a new url alias but it redirects me to the old one and i need the new one. I'll explain:

When i ask for $child.url_alias

If have:

http://mysyte.com/data/company_info

And i need

http://mysyte/company_info

I did it it without problems with previous versions of ez but seems not possible with 3.9.

Any help would be appreciated,

Luis

luis muñoz

Thursday 15 November 2007 3:05:55 am

Sorry, i meant ez 3.10, in 3.9 it works.

Matthew Carroll

Thursday 15 November 2007 11:44:43 am

This is a known bug - features available in 3.9 were removed in 3.10 with the new multilingual url system was implemented:

http://issues.ez.no/11650

See also:

http://ez.no/developer/forum/install_configuration/reduced_functionality_of_url_translator_in_3_10_0

Matthew

http://carroll.org.uk

Alexandre Cunha

Wednesday 12 December 2007 6:07:16 pm

I thing there is another issue regarding new URLs and search engines...

I have added the

[URLTranslator]
TransformationGroup=urlalias_compat 

to the site.ini

Now the page haves links like artigo/cotações-e-preços/

Clicking that link redirects to artigo/cotacoes_e_precos/

Ok, but I prefer the old way when the links are like artigo/cotacoes_e_precos/
without accented characters.

How the search engines deal with this redirects?
How can I revert to the old links?

http://AlexandreCunha.com

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

Main resources:

Total runtime0.6242 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.7891152.6094
Module start 'layout' 0.00660.0059 740.398439.4063
Module start 'content' 0.01250.6103 779.8047580.2500
Module end 'content' 0.62280.0014 1,360.054712.2031
Script end 0.6241  1,372.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5311160.0002
Check MTime0.00120.1994160.0001
Mysql Total
Database connection0.00090.142810.0009
Mysqli_queries0.566090.6736620.0091
Looping result0.00060.0908600.0000
Template Total0.589194.420.2945
Template load0.00200.321120.0010
Template processing0.587194.053520.2935
Template load and register function0.00020.029810.0002
states
state_id_array0.00100.160510.0010
state_identifier_array0.00100.166320.0005
Override
Cache load0.00170.2752360.0000
Sytem overhead
Fetch class attribute can translate value0.00841.339430.0028
Fetch class attribute name0.00170.269350.0003
XML
Image XML parsing0.00090.139430.0003
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00080.1344160.0001
String conversion0.00000.001640.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs