can we make DAM pdfs not searchable from search engines?
Views
Replies
Total Likes
You would need to add following headers to pdf in Dispatcher
<LocationMatch "^/content/dam.*\.pdf.*">
Headerset X-Robots-Tag "noindex, nofollow"
</LocationMatch>
so where do I do this in AEM? can you please provide screenshots.
Thanks Mansi
This configuration is done in Dispatcher. Please check for any existing config in code base via <LocationMatch keyword
It should be configured in following module:
<IfModule mod_headers.c>
@rookie80 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes