How to allow flexible Redirect Urls for pages in Sitefinity
Last Updated On May 30, 2020
If you are to create a Redirect page in Sitefinity you have two options: either select a page from the existing pages or redirect to a URL. If you select the latter, then Sitefinity validation forces you to enter a url that starts with either http or ftp (or their secure equivalent). But if you wanted to put a relative path, e.g. /my-choice it won't allow you.
This is how to overcome it - the validation rule is driven by a regex that looks like this: