search engine - disable searching in part of nodestree

Author Message

Jacek S

Monday 12 February 2007 1:23:22 am

I have a little portal which is still in development but it must go public. Some parts of nodes and objects structure are still empty or are filled with "lorem ipsum", i want to hide this parts from public but leave it for further editions. There are two problems:
- how to hide node(and subnodes tree) from public view but leave it for logged in editors? Will it be enough if i set proper users rights(disable anonymous access, grant permission for editor role)?
- How to prevent search engine from indexing this hidden parts and showing it in search results?

Børge Warvik

Monday 12 February 2007 2:17:16 am

Your problem can easily be solved using sections. More info here http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/content_management/sections

Create a section and add content to it. Then add permissions to groups and/or users that you want to give access to that section.

Jacek S

Monday 12 February 2007 3:44:19 am

Thanks, but how it affects search engine? nodes in this "hidden" section wont be show search results?

Mark Marsiglio

Monday 12 February 2007 6:19:17 am

It might be easier just to hide the content in the admin - either in the "locations" box or using the contextual popup menu in the Content Structure menu (look under Advanced - Hide/Unhide).

This will prevent the pages from being seen on the user siteaccess as long as that setting is not overridden (show hidden nodes in site.ini.append.php).

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Børge Warvik

Monday 12 February 2007 6:25:16 am

If the anonymous user group doesn't have access to the section the result shouldn't show nodes in that section.

Jacek S

Saturday 17 February 2007 7:24:26 am

Thanks everyone for answers.

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

Main resources:

Total runtime0.9081 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1563152.6563
Module start 'layout' 0.00470.0028 740.812539.5078
Module start 'content' 0.00760.8990 780.3203603.9844
Module end 'content' 0.90650.0015 1,384.304712.1094
Script end 0.9080  1,396.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3448160.0002
Check MTime0.00130.1470160.0001
Mysql Total
Database connection0.00070.073410.0007
Mysqli_queries0.854594.0968680.0126
Looping result0.00070.0796660.0000
Template Total0.878496.720.4392
Template load0.00210.234920.0011
Template processing0.876196.485020.4381
Template load and register function0.00020.020510.0002
states
state_id_array0.00080.084010.0008
state_identifier_array0.00130.142220.0006
Override
Cache load0.00180.1964210.0001
Sytem overhead
Fetch class attribute can translate value0.00090.094630.0003
Fetch class attribute name0.00170.187680.0002
XML
Image XML parsing0.00120.131030.0004
class_abstraction
Instantiating content class attribute0.00000.001990.0000
General
dbfile0.00090.0988210.0000
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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs