This field determines where requests will be sent. Virtualmin detects the
destination type automatically:
- Full URL (for example https://other.example/path)
Redirect to another website.
- URL path (for example /new-path)
Redirect to another path on this website.
- Directory path (for example
/home/user/public_html/files/)
If this is an existing directory under the website root, it is used as an
alias target.
- Host-preserving URL (for example
https://%{HTTP_HOST}/path)
Keep the requested hostname while changing protocol and/or path.
This field is not a regular expression replacement field. Enter the final
destination URL, URL path, or directory; use the sub-path, filename, and query
string options to control which parts of the original request are kept.
When sub-paths are kept, Virtualmin normalizes the destination's trailing slash
to match Redirect from. For example, a source ending in / will
use a destination ending in /, so appended sub-paths are joined
correctly.