V
V
vasilseodor2015-05-14 16:37:50
MODX
vasilseodor, 2015-05-14 16:37:50

How to make child resources not links?

Let's say there is a resource. and it has 5 child resources. I display them in resources according to a template using the Ditto snippet.
But here is the question. How to make sure that these created child resources are not resources as such? Tgo is that information from them is displayed in the main resource, but that they cannot be accessed.
P.S. In the site map, they are unfortunately displayed as resources.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
keslo, 2015-05-14
@keslo

The whole tsimes in the Ditto output template. If you write what exactly you need, then I will help with the template.

Y
Yuri Tatarkin, 2015-05-28
@tomasoyer

1. Empty template
2. In the template, just in case, insert a redirect to the parent resource
3. Exclude from the site map (XML) according to the document template.
This is how it works for me on two sites, it works, there are no problems with indexing.
PS: And most importantly, no links to these documents.

R
Ruslan, 2015-06-07
@ruslan_aleev

1) You hide the necessary resources from showing in the menu.
2) In ditto, you indicate that you are processing resources hidden from the menu, and you do not put links to resources in the ditto template.
3) In the sitemap (if it is done through wayfainder) you indicate the opposite - i.e. do not process resources hidden from display in the menu (by default, it's already worth it).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question