Edit URL

Author Message

David Santiso

Wednesday 06 July 2011 1:56:29 pm

Hi,

How can I edit site URLs? For example:

I have this URL .../index.php/content/view/full/2/(attribute1)/1/(attribute2)/2

And I want this .../section1

Thanks,

David

Marko Žmak

Thursday 07 July 2011 6:07:34 am

Maybe the URL Alias feature is the thing you need?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

David Santiso

Friday 08 July 2011 1:22:14 am

Yes, I tried it. But when I create an object, the system automatically creates an alias with its name. If I create another alias. Clicking on the link to the object is using the alias whit the name. For example:

I have an object with name What is...? and its automatic URL alias is What_is

When I click on its link, it redirects to .../index.php/What_is

I created a new alias about and its URL is the same.

Karol Radziuk

Saturday 09 July 2011 3:12:52 pm

Hi,

I think you shold describe your problem more precisely.

1. If .../index.php/... is the problem, you should make Vhost rules (check here: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Installation/Virtual-host-setup) and sometimes http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/site.ini/SiteAccessSettings/ForceVirtualHost is needed.

2. You can not edit default URL aliases.

3. But you can create new URL alias as Marko mentioned.

{$me|attribute(show,1)}

David Santiso

Sunday 10 July 2011 6:22:02 am

When I access a section, I see the URL alias by default. I want to see the aliases that I created.

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 00:01:02
Script start
Timing: Jan 18 2025 00:01:02
Module start 'layout'
Timing: Jan 18 2025 00:01:02
Module start 'content'
Timing: Jan 18 2025 00:01:03
Module end 'content'
Timing: Jan 18 2025 00:01:03
Script end

Main resources:

Total runtime0.7053 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.7891152.6094
Module start 'layout' 0.00580.0029 740.398439.3984
Module start 'content' 0.00860.6948 779.7969614.0469
Module end 'content' 0.70350.0017 1,393.843812.2031
Script end 0.7052  1,406.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4577160.0002
Check MTime0.00140.1983160.0001
Mysql Total
Database connection0.00070.096010.0007
Mysqli_queries0.638290.4849670.0095
Looping result0.00090.1224650.0000
Template Total0.677896.120.3389
Template load0.00220.313220.0011
Template processing0.675695.790220.3378
Template load and register function0.00020.030510.0002
states
state_id_array0.00040.059710.0004
state_identifier_array0.00100.148720.0005
Override
Cache load0.00190.2755450.0000
Sytem overhead
Fetch class attribute can translate value0.00070.097330.0002
Fetch class attribute name0.00210.304570.0003
XML
Image XML parsing0.00150.216430.0005
class_abstraction
Instantiating content class attribute0.00000.002070.0000
General
dbfile0.00120.1700240.0000
String conversion0.00000.001440.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
5content/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
6content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
6content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 10

Time used to render debug report: 0.0001 secs