Remove folder/application names from URLs

  • Thread starter Thread starter Nedim
  • Start date Start date
N

Nedim

Guest
If your website’s address is this:



TestSite.com is for sale | Designs.com



and you want your users to see the URL below in browser address bar (The name “testapp” is stripped out)



TestSite.com is for sale | Designs.com



you can use the URL Rewrite Inbound rule below for removing the folder name from the FQDN:



<rewrite>
<rules>
<rule name="Remove testapp" stopProcessing="true">
<match url=".*(testapp)(.+)" />
<action type="Redirect" url=TestSite.com is for sale | Designs.com{R:2} appendQueryString="false" />
</rule>
</rules>
</rewrite>



medium?v=v2&px=400.png



medium?v=v2&px=400.png

Continue reading...
 
Back
Top