Click here to Skip to main content
14,920,295 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know how to change url dynamically, I have url like

localhost:56437/Restaurant/Restaurant.aspx?RID=11700

In that RID=11700 is restaurant id and it will change every time as per restaurant
So I want the code if someone calls that url it should be seo friendly like

localhost:56437/Restaurant/Tabla/11700

In that Tabla is the restaurant name and 11700 is restaurant id and if the RID change than the restaurant name changed
Posted
Comments
Praveen Kumar Upadhyay 10-Mar-15 8:46am
   
Use MVC architecture. It has this option.You don't need URL rewriting.
dhiraj mane 11-Mar-15 2:36am
   
i am not using MVC. my project in .net 3.5, do you have nay solutions
Praveen Kumar Upadhyay 11-Mar-15 3:36am
   
MVC is there in 3.5, If you could manage to do that, it will solve all your problem, if not then I will try to post some solution.
dhiraj mane 11-Mar-15 4:07am
   
can you please give me another solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900