---
title: "how use UrlMapping in ASP.Net?"  
description: "how use UrlMapping in ASP.Net?"  
author: "Somesh"  
published: 2010-11-08  
updated: 2010-11-09  
canonical: https://www.mindstick.com/forum/80/how-use-urlmapping-in-asp-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# how use UrlMapping in ASP.Net?

[problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) in \
how use [url](https://www.mindstick.com/forum/436/url-redirection) [mapping](https://www.mindstick.com/forum/34816/what-is-mapping-constraints-in-database-management-system) in [asp.net](https://www.mindstick.com/articles/934/default-folders-available-inside-the-asp-dot-net-application-folder), how it is different from [routing](https://www.mindstick.com/articles/11998/attribute-routing-in-asp-dot-net-mvc) and url [writing](https://www.mindstick.com/articles/12997/5-essential-tips-on-resume-writing-for-business-analysts)

## Replies

### Reply by Amit Singh

Url Mapping is used to change the current url\
we write this code in web config\

```
<system.web>
    <urlMappings enabled="true">
        <add url="~/Img/default.aspx" mappedUrl="~/show/Images/photo.aspx"/>
    </urlMappings>
</system.web>
```

\


---

Original Source: https://www.mindstick.com/forum/80/how-use-urlmapping-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
