not translated objects 404

Author Message

Jean Gaudel

Friday 06 October 2006 4:53:32 am

I have a multilang website.
Some objects are not translated but are accessible.
I don't want them to be accessible.

for exemple in the main language you have this URL :

http://mydomain/myurlalias/

the object in the myurlalias node is NOT translated but is accessible in the main language translation via this URL :

http://mydomain/lang/myurlalias/

I want this url to return a 404 error, how to do that ?

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 30 2025 19:40:55
Script start
Timing: Jan 30 2025 19:40:55
Module start 'layout'
Timing: Jan 30 2025 19:40:55
Module start 'content'
Timing: Jan 30 2025 19:40:55
Module end 'content'
Timing: Jan 30 2025 19:40:55
Script end

Main resources:

Total runtime0.0276 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.1328151.2109
Module start 'layout' 0.00720.0042 739.3438220.6875
Module start 'content' 0.01150.0147 960.0313993.6797
Module end 'content' 0.02620.0014 1,953.710929.9922
Script end 0.0275  1,983.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00279.6206140.0002
Check MTime0.00113.9236140.0001
Mysql Total
Database connection0.00083.010610.0008
Mysqli_queries0.004616.714830.0015
Looping result0.00000.039810.0000
Template Total0.00103.510.0010
Template load0.00072.581710.0007
Template processing0.00020.874110.0002
Override
Cache load0.00051.783710.0005
General
dbfile0.003311.889480.0004
String conversion0.00000.025940.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