How does virtual URL forwarding work?

Author Message

Badger Mushroom

Friday 04 March 2005 9:11:10 pm

Hi, I was wondering if you have any ideas how URL forwarding work in ezpublish?

Say, I migrated a site to ezpublish, but I would like to keep some old URLs for sake for SEO. Say, I moved my content from /badgers/mushroom.htm to /badgers_mushroom, but I would still like to keep /badgers/mushroom.htm. Is this possible with ezpublish 3.5 URL forwarding? Or is that a completely different animal?

Gabriel Ambuehl

Saturday 05 March 2005 12:26:38 am

I think that's more of a case for mod_rewrite.

Visit http://triligon.org

Badger Mushroom

Saturday 05 March 2005 6:01:18 am

Oh okay. Then may I ask what exactly does virtual URL forwarding do?

Thanks.

Gabriel Ambuehl

Saturday 05 March 2005 6:29:51 am

To be honest, I couldn't really figure it out either. Might just try it...

Actually it seems like the URL translation feature in setup of 3.5 might do what you want (if it doesn't bother you too much to enter the old urls by hand ;-). It does, however, redirect you to the new URL, not show the new content under the old URL.

Visit http://triligon.org

Kristian Hole

Saturday 05 March 2005 6:39:15 am

Virtual URL forwarding forwards from one virtual url to an existing virtual url. Example you want a shortcut "/faq" to the node "/documentation/faq" on your site. Then you use a virtual url.

System URL forwarding on the other hand forwards from a "nice" url to a system url (which typically consists of module name and some parameters). Example: Nice url "/about", system url: "/content/view/full/2". "Nice" urls are created automatically when you publish an object.

Here is some documentation about ezpublish urls:
http://ez.no/ez_publish/documentation/ez_publish_basics/ez_publish_urls

Hope this was helpful.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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 31 2025 04:20:39
Script start
Timing: Jan 31 2025 04:20:39
Module start 'layout'
Timing: Jan 31 2025 04:20:39
Module start 'content'
Timing: Jan 31 2025 04:20:40
Module end 'content'
Timing: Jan 31 2025 04:20:40
Script end

Main resources:

Total runtime1.2317 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2500151.2266
Module start 'layout' 0.00570.0028 739.476636.6797
Module start 'content' 0.00851.2223 776.1563980.9297
Module end 'content' 1.23080.0008 1,757.085911.8281
Script end 1.2317  1,768.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.2208160.0002
Check MTime0.00110.0933160.0001
Mysql Total
Database connection0.00060.050810.0006
Mysqli_queries1.182596.0055650.0182
Looping result0.00060.0459630.0000
Template Total1.188896.520.5944
Template load0.00180.148020.0009
Template processing1.186996.366820.5935
Template load and register function0.00160.129410.0016
states
state_id_array0.00200.158810.0020
state_identifier_array0.00160.129020.0008
Override
Cache load0.00150.1214200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.055130.0002
Fetch class attribute name0.00200.161760.0003
XML
Image XML parsing0.00210.169930.0007
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00340.2720160.0002
String conversion0.00000.000740.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs