# How to configure the WorkflowGen root website to auto-redirect to the "/wfgen" web app

**URL:** <https://discuss.workflowgen.com/t/how-to-configure-the-workflowgen-root-website-to-auto-redirect-to-the-wfgen-web-app/1533>\
**Category:** Installation\
**Created:** [December 7, 2019, 8:50pm UTC](https://discuss.workflowgen.com/t/how-to-configure-the-workflowgen-root-website-to-auto-redirect-to-the-wfgen-web-app/1533 "2019-12-07T20:50:34Z")\
**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 7, 2019, 8:50pm UTC](https://discuss.workflowgen.com/t/how-to-configure-the-workflowgen-root-website-to-auto-redirect-to-the-wfgen-web-app/1533/1 "2019-12-07T20:50:34Z")

</div>

If you would like your WorkflowGen root website (e.g. `https://server`) to auto-redirect to the `https://server/wfgen` web app, follow the procedure below.

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

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

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

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