How to hide system URLs from the outside world?

Author Message

Jan Egil Kristiansen

Wednesday 02 June 2004 2:46:19 pm

OK. I can use URL Translation to to make the 'virtual URL' /services display the content of the system URL /content/view/full/107.

But how do I make the menus link to the 'virtual' URL? I want one canonical URL for each page, and I want that to be the 'virtual' one.

Google will start from the home page, and find the folder /107/. But I want Google to find a folder called /services/.

If I try to forward /content/view/full/107 to /services, the error message is that

The destination URL index.php/corporate/services does not exist in the system.
You can only create forwarding URLs to existing translation URLs.

Well, it does exist - it works. So, how do I hide /content/view/full/107 from the outside world?

Trond Åge Kvalø

Tuesday 08 June 2004 7:10:03 am

Hello Jan Egil.

Have you read this article?

http://ez.no/ez_publish/documentation/customization/tips_tricks/creating_nice_urls

It does explain some of the things you've mentioned.

I've just completed a site where all links are written using the ezurl operator, like this:

<a href={"/kurs/p_melding_reservering/kursp_melding"|ezurl}>Kursp&aring;melding</a>

And as far as I've noticed Google doesn't use any content/view/full/nodenumber urls for that site.

best regards
trondåge

trondåge

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 16:21:18
Script start
Timing: Jan 18 2025 16:21:18
Module start 'layout'
Timing: Jan 18 2025 16:21:18
Module start 'content'
Timing: Jan 18 2025 16:21:19
Module end 'content'
Timing: Jan 18 2025 16:21:19
Script end

Main resources:

Total runtime0.8349 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.0055 589.1797152.6406
Module start 'layout' 0.00550.0030 741.820339.4922
Module start 'content' 0.00850.8250 781.3125489.2891
Module end 'content' 0.83350.0014 1,270.60168.1250
Script end 0.8349  1,278.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4124160.0002
Check MTime0.00140.1702160.0001
Mysql Total
Database connection0.00070.085610.0007
Mysqli_queries0.785394.0599540.0145
Looping result0.00050.0651520.0000
Template Total0.807396.720.4036
Template load0.00210.249320.0010
Template processing0.805296.438120.4026
Template load and register function0.00020.023810.0002
states
state_id_array0.00050.065710.0005
state_identifier_array0.00080.097620.0004
Override
Cache load0.00180.2097200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.062520.0003
Fetch class attribute name0.00180.214020.0009
XML
Image XML parsing0.00020.027220.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00070.0796100.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs