This is regarding URL

I had written code for URL rewriting but I'm not getting the expected URL.

When I debug, the app is going to this page

http://localhost:1673/Website/Default.aspx

In the Default page i had given 4 links and one among them is

Page.aspx/RES_ABCD?p1=123&p2=456

if i click the link its going to this page which will b having a button

http://localhost:1673/Website/RES_ABCD/Page.aspx?p1=123&p2=456

if i click the button it will go to this :

http://localhost:1673/Website/RES_ABCD/Page.aspx?res=RES_ABCD&p1=123&p2=456

but i want the url to be like

http://localhost:1673/Website/Page.aspx?res=RES_ABCD&p1=123&p2=456/RES_ABCD

can someone help me regarding this!!

Search for URL Rewriting..!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.