# Configuring the WorkflowGen root website to auto-redirect to the "wfgen" web app

**URL:** <https://discuss.workflowgen.com/t/configuring-the-workflowgen-root-website-to-auto-redirect-to-the-wfgen-web-app/1768>\
**Category:** Installation\
**Created:** [December 28, 2020, 8:06pm UTC](https://discuss.workflowgen.com/t/configuring-the-workflowgen-root-website-to-auto-redirect-to-the-wfgen-web-app/1768 "2020-12-28T20:06:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [December 28, 2020, 8:06pm UTC](https://discuss.workflowgen.com/t/configuring-the-workflowgen-root-website-to-auto-redirect-to-the-wfgen-web-app/1768/1 "2020-12-28T20:06:03Z")

</div>

As of WorkflowGen 7.22.0, you should configure your WorkflowGen root website (e.g. `https://server`) to auto-redirect to the `https://server/wfgen` web app. (You can also do this for earlier versions of WorkflowGen.)

> **Note:** As of WorkflowGen 7.15.0, the PowerShell setup comes with this configuration pre-installed on your WorkflowGen server. This procedure is applicable only when upgrading an existing previous WorkflowGen server.

To do this:

1. Make sure the [URL Rewrite](https://www.iis.net/downloads/microsoft/url-rewrite) tool is already installed on your WorkflowGen server.

2. Create or update the `web.config` under your website’s root folder (e.g. `DRIVE:\inetpub\wwwroot\web.config`).

3. Define the rewrite rule node as shown below (`configuration` / `system.webServer` / `<rewrite>` / `<rules>` / `<rule>`):
