Notes on Redirect
/docs/apps/redirect/
App Redirect sends the user’s browser to some other URL that is
specified as a Customization Point which ubos-admin createsite
will prompt you for.
Two approaches to using Redirect can be taken. Assume that Redirect is deployed to
Site example.com:
-
If the
targetCustomization Point is set tohttp://example.net/path, all URLs belowexample.comwill be redirected to the same targethttp://example.net/path.For example,
http://example.com/andhttp://example.com/somewherewill both be redirected tohttp://example.net/path. -
If the
targetCustomization Point is set tohttp://example.net/path/$1, all URLs belowexample.comwill be redirected to the corresponding relative URL below the targethttp://example.net/path/.For example,
http://example.com/will be redirected tohttp://example.net/path/, buthttp://example.com/somewherewill be redirected tohttp://example.net/path/somewhere.