Skip to main content
Level 2
Oct 17, 2022 3:54 PM UTC
Question

Externalizing disallow or allow URLs in Robots.txt using Adobe ACS Commons RobotsServlet

I am using adobe.acs.commons.wcm.impl.RobotsServlet to create robots.txt file which is having sitemap, allow and disallow URLs. I want to externalize the urls using externalizer.domain but this is only getting applied to sitemap directives. Is there a way to add domain to allow and disallow directives also.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

BrianKasingli
New Participant
Oct 17, 2022 4:04 PM UTC

Usually, for my own implementations, I would store the robots.txt file inside of the DAM, so my SEO authors would have full control over what they want to make public available to the robots.txt. Use the 

robots.content.property.path

Robots.txt Generator (adobe-consulting-services.github.io) 

Translate
Level 2
Oct 18, 2022 4:31 AM UTC

How does it work, can you explain more.

Translate