Change the application status page relative URL
When you request a page of your Sitefinity application during the initialization or the upgrade stage of the application, you get redirected (302) to the application status page URL. Its default value is ~/sitefinity/status.
You can customize the default value in the following way:
-
Open your application
web.configfile. -
Inside section
<configuration>/<appSettings>, add keysf:appStatusUrlwith its value.EXAMPLE:
<add key="sf:appStatusUrl" value="/my-company/status" /> -
Save and close the
web.configfile.
IMPORTANT: If you use named route, you must use an unique URL to make sure there is no overlapping with any Sitefinity CMS system URLs. For example, use http://mydomain.com/my-company/status, but not only http://mydomain.com/status.
NOTE: If you want to remove the
/sitefinityroute altogether and leave the URL to be http://mydomain.com/?ReturnUrl=, set the route value tovalue="/".