

How to do redirect by web.config in ASP.NET
Author: DeVoid07 29th, 2008
If you want create the mod_rewrite analogue and use links as mysite/user/DeVoid or send an user on other page - use web.config option urlMappings in ASP.NET:
<configuration> <system.web> <urlMappings enabled="true"> <add url="~/Article28.aspx" mappedUrl="~/MyNewBestArtile.aspx"/ > <urlMappings> </system.web> </configuration>
Using urlMappings you will be able to do your site on ASP.NET more attractive for an user
read comments (0)
