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
target
Customization Point is set tohttp://example.net/path
, all URLs belowexample.com
will be redirected to the same targethttp://example.net/path
.For example,
http://example.com/
andhttp://example.com/somewhere
will both be redirected tohttp://example.net/path
. -
If the
target
Customization Point is set tohttp://example.net/path/$1
, all URLs belowexample.com
will 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/somewhere
will be redirected tohttp://example.net/path/somewhere
.