rombert commented on code in PR #192:
URL: https://github.com/apache/sling-site/pull/192#discussion_r1936952199


##########
src/main/jbake/content/documentation/the-sling-engine/mappings-for-resource-resolution.md:
##########
@@ -289,16 +291,16 @@ Instead if the `sling:alias` property is set in any 
resource under `/content` (e
 While an alias can provide a variation for a resource name, a vanity path can 
provide an alternative path for a resource. The following properties can be set 
on a resource:
 
 * `sling:vanityPath` – This property when set on any resource defines an 
alternative path to address the resource.
-* `sling:redirect` – This boolean property when set to `true` on a 
resource with a vanity path causes a redirect response to be sent to the 
client, which causes the client to send in a new request with the modified 
location. The value of the `sling:vanityPath` property is applied to the actual 
request and sent back as the value of the `Location` response header field.
+* `sling:redirect` – This boolean property when set to `true` on a 
resource with a vanity path causes an HTTP redirect response to be sent to the 
client, which causes the client to send in a new request with the modified 
location. The value of the `sling:vanityPath` property is applied to the actual 
request and sent back as the value of the `Location` response header field.
 * `sling:redirectStatus` – This property defines the HTTP status code 
sent to the client with the `sling:redirect` response. If this property is not 
set, it defaults to 302 (Found). Other status codes supported are 300 (Multiple 
Choices), 301 (Moved Permanently), 303 (See Other), 307 (Temporary Redirect), 
and 308 (Permanent Redirect).
 * `sling:vanityOrder` – It might happen that several resources in the 
resource tree specify the same vanity path. In that case the one with the 
highest order is used. This property can be used to set such an order.
 
+Vanity Paths are similar to symbolic links in POST systems.

Review Comment:
    Did you mean POSIX instead of POST?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to