{Log in or Register}
Posts Tagged ‘mod_rewrite’
How to do redirect by web.config in ASP.NET
July 29th, 2008 No Comments Posted in ASP.NET
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