1. Download and install the URL Rewrite extension on your Forefront  Identity Server.
    http://www.iis.net/extensions/URLRewrite
  2. Open the web.config file under you’re the inetpub directory. Usually the “C:\inetpub\wwwroot\wss\VirtualDirectories\<Sitename>”

Paste the following text in web.config in the <system.webserver> section:

<rewrite>

<rewriteMaps>

<rewriteMap name="/" />

</rewriteMaps>

<rules>

<rule name="Redirect root (Identitymanagement)" enabled="true" stopProcessing="true">

<match url="^$" />

<conditions logicalGrouping="MatchAny" trackAllCaptures="false" />

<action type="Redirect" url="/identitymanagement" appendQueryString="false" />

</rule>

</rules>

</rewrite>

 

  1. You see the new rule under the Site “URL Rewrite"
  2. You might need to do the following as well to make it work:
    1. On the IIS site, you must turn off Static and Dynamic compression.
    2. Add a key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\Rewrite and a DWORD LogRewrittenUrlEnabled with a value of 0.
    3. Run an IIS reset in admin mode