Adding a DAM predicate for NoRobots.txt
Hi
I'm running CQ 5.6.0 and currently have PDF DAM assets that are externally searchable via internet search engines. I would like to be able to customise the DAM so that I can define at an asset level whether or not a particular asset should be searchable in Google, Bing etc.
My plan is to create a property at the asset level which, once selected, adds the path to a NoRobots.txt file.
My questions are:
- How do I create a property per DAM asset for a NoRobots flag?
- How do I create a NoRobots.txt file that can be populated with pages from 'Sites' as well as the DAM?
- Is there a better way of acheiving the same result?
Many thanks in advance
Fabio