Robots.txt
Since Sitevision 2023.03.1. The SEO settings of a Site allows for custom additions to the robots.txt. The settings also contains a checkbox that enables such additions to be treated dynamically, i.e. evaluated by Velocity. When treated dynamically, there are three objects available on the Velocity context.
Name | Type and description |
---|---|
jcrSession | |
The JCR Session | |
request | javax.servlet.http.HttpServletRequest |
The portlet request | |
sitevisionUtils | |
The main entry point to all utility classes |